Use Ribbon Control in WPF Toolkit in XAML
How to use the Ribbon control in WPf toolkit in my XAML? How to include the namespaces for ribbon in XAML? ...
How to use the Ribbon control in WPf toolkit in my XAML? How to include the namespaces for ribbon in XAML? ...
I'm having an issue with converting a BitmapImage (WPF) to grayscale, whilst keeping the alpha channel. The source image is a PNG. The MSDN article here works fine, but it removes the alpha channel. Is there any quick and effective way of converting a BitmapImage to a grayscale? ...
Hi, I need to provide sticky notes on an image in an XPS document. Unfortunately, if the document contains an image and you want to add an annotation, you are unable to do so because you are unable to select anything. If text exists within an XPS document, then you can select it and provide a sticky note but selection is not possible f...
Hello, I've a List<DetailObject> someList; which looks like this: public class DetailObject { public string Titel { get; set; } public int Value1 { get; set; } public int Value2 { get; set; } public int Value3 { get; set; } } Does anyone know how I can use (with DataGrid.AutoGenerateC...
Hello, Does anyone how I can add a fixed last row / footer row to the WPF Toolkit DataGrid? I'd like to display a "summary" at the bottom of all Column Values. Thank you. Cheers ...
How to change axis system in the WPF canvas? ...
hello, I create MyWindow class derived from Window, and I capture the Window Messages refer nonclient area, for example WM_NCLBUTTONDOWN, it works :). I want create my event and rise them when the message comes. public event MouseButtonEventHandler MouseButtonDownOnCaption; protected virtual void OnMouseButtonDownOnCaption(obj...
I need to have the ability to select multiple values as is the nature of a Flag enumeration from a WPF view (all be it, in a PropertyGrid). The properties in question are dynamic and no pre-defined DataTemplates can be used as the type of the properties will be discovered at runtime. (A DataTemplate which can detect if an enumeration i...
Hi, I'm doing some validation on the DataSource of TextBox that's within an Expander and have found that once a validation error has been triggered, if I collapse the Expander, the red box stays where the TextBox would have been. <Expander Header="Blah Blah Blah"> <TextBox Name="TextBox" Validation.ErrorTemplate="{DynamicR...
Hi, I am using a WPF Datagrid with a RowDetails panel where the RowDetailsVisibilityMode is set to "VisibleWhenSelected" and the SelectionMode="Extended" so that multiple rows can be selected and hence display RowDetails, as below: <dg:DataGrid x:Name="MyGrid" ItemsSource="{Binding Path=MyItems}" AutoGenerateC...
When trying to use a Slider control I'd like to listen to the MouseLeftButtonDown and MouseLeftButtonUp. I have handlers set up for both events. The MouseLeftButtonUp works as expected. MouseLeftButtonDown is not raised at all. Any ideas why? I've done a bit of googling and it seems that the WPF doesn't fire either. One of the solu...
I have 2 Classes in WPF: Meeting People In meeting I have 2 ObservableCollections; AttendingMeeting and NotAttendingMeeting that contain People objects In the xaml the DataContext are set to meeting, and I have 2 DataGrids (AttendingMeeting and NotAttendingMeeting) I need to add a button to each of the DataGrids to add and remove ...
I have an Itemscontrol, witch contains two items after the Binding. My problem is that the second item is getting out from the window's area. My question is - how can I bring closer the Items's texts without reducing the font size or increasing the window's height ? Is there something like the padding and marging of HTML ? or maybe so...
The project I am working on has a rich text box that can have it's font changed to any of the system fonts via a combo box. We add all the FontFamily objects from "Fonts.SystemFontFamilies" as the ItemsSource of the combo box. We need to be able to show the localized names of these fonts if they exist within each FontFamily. I'm curre...
Hi, sometimes, under not reproducible circumstances, my WPF application crashes without any message. The application simply close instantly. Where is the best place to implement the global Try/Catch block. At least i have to implement a messagebox with: "Sorry for the inconvenience ..." Any help would be most welcome, thank you. ...
I am a total WPF newbie and wonder if anyone could give me some pointers how to write an application that starts minimized to tray. The idea is that it periodically fetches an RSS Feed and creates a Toaster-Popup when there are new feeds. The Application should still have a Main Window (essentially just a list containing all feed entrie...
Hi, I recently plugged the NHibernate validation into my app, I've decorated the properties of my domain objects with the NHibernate attributes as so ... [NotEmpty, Length(Min = 1, Max = 40)] public string Description { get; set; } I've also implemented IDataErrorInfo on my Domain Object ... public string this[string co...
The main problem is in LinearGradientBrush. It fills triangle in solid red. What's wrong? I have tried almost the same code with 2d shapes. It worked perfectly. <Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1...
I am developing a WPF application and have recently started testing it on a machine with Windows XP Tablet edition. The application runs Full screen. When the computer goes into standby while my application is still running, returning from standby causes the igxprd32 display driver to stop working. When this happens I get a "Windows - Di...
I have a WPF application and I'm using the WebBrowser control to display some content from a public website. Sometimes in weird edge cases when the network connectivity is flakey, the web browser will show the "This program cannot display the webpage" error page. Is there some way to listen to the WebBrowser to detect when this occurs,...