wpf-controls
Adding Event Handlers to WPF DataGrid throws NullReferenceException
I\'m not sure what\'s wrong with the DataGrid I\'ve written. The contents show up correctly but when I try to add in a OnSelectionChanged event handler, sth odd happens.Please help me![详细]
2023-04-03 09:24 分类:问答XAML Control array for static number of combo boxes
I would like an array of 10 combo boxes on a wpf form. The ItemsSource of the combo boxes are identical - an ObservableCollection of selectable Items.[详细]
2023-04-03 09:06 分类:问答WPF FrameworkElementFactory Image creation Not able to AddHandler for MouseDownEvent
I am using Framework ElementFactory for creating a image in DataTemplate. While trying to handle the MouseDown Event for the Image type, an exception is thrown - \"Handler Type is not valid.[详细]
2023-04-03 08:47 分类:问答Problem adding OfficeBlack2007 theme on WPF ribbon
I started a ribbon tutorial, and everything went fine until i added this line to the code for applying the theme:[详细]
2023-04-03 04:59 分类:问答Numbered lists in WPF
I\'m trying to create a numbered list (with sub-lists) in a WPF based UI. I\'m aware of BulletDecorator for creating bullet lists and I was hoping there might be something similar for numbered lists.[详细]
2023-04-02 08:01 分类:问答Set the MenuItem BackGround color (The right way)
Whenever I try to change the background color to a menu adding the following code to the app.xml <Style TargetType=\"MenuItem\">[详细]
2023-04-02 06:16 分类:问答TextBox TextChanged event on programmatic versus user change of text contents
I would like to differentiate between changing the text programmatically (for example in a button click handler event开发者_C百科)and user input (typing,[详细]
2023-04-01 23:11 分类:问答I need help with the design for many keyboard shortcuts assosciated with various methods
I have a requirement to come up with many keyboard shortcuts and assosciate them with various m开发者_开发问答ethods. I need help on design in C#. Any specific dstrucs to use?Start with ApplicationCom[详细]
2023-04-01 17:42 分类:问答How to create disconnected line graph? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-01 06:31 分类:问答how to refresh wpf data trigger ?
i have the grid with storyboard as below. <Grid x:Name=\"grd_Order\"Grid.Column=\"2\" Height=\"16\" Margin=\"0,-2,0,0\" Visibility=\"Collapsed\" HorizontalAlignment=\"Center\" VerticalAlignment=\[详细]
2023-04-01 05:48 分类:问答