wpf-controls
How to fix ComboBox index issue in C#
I wrote a WPF application in which my ComboBox.Items.IndexOf(ItemName); giving -1 even though Item is present in the ComboBox items list. Can anybody please help me to get the solution.开发者_开发百科[详细]
2023-04-05 16:41 分类:问答How to change HirerachicalDataTemplate associated with the WPF TreeView programatically at run time?
I have a TreeView control on my WPF window. I am giving only relevant XAML from my window. <Window.Resources>[详细]
2023-04-05 16:32 分类:问答How to make a 2 state Image button?
I\'m actually surprised that I didn\'t find the answer to this simple question here. I want to create a simple button with Image content. When pressed the image should change to another one and after[详细]
2023-04-05 10:11 分类:问答WPF Date Picker Control for .Net 3.5
Im developing an application in C#.Net 3.5 Sp1 under WP开发者_如何学编程F.I need to implement the date picker in it.How can i get that control in WPF.How can i implement in XAML.If you are using .NET[详细]
2023-04-05 01:25 分类:问答Problem with button template in wpf..?
I am very new to wpf. I want to display an Image and a textblock in buttoncont开发者_StackOverflow中文版rol. Hence I created a template and binded image to source and textblock to name.[详细]
2023-04-04 21:40 分类:问答The tag 'CardGUIUserControlWpf' does not exisrt in XML namespace 'clr-namespace:CardGameControls;assembly=CardGameControls'. Line 14 Pos 14
The tag \'CardGUIUserControlWpf\' does not exisrt in XML namespace \'clr-namespace:CardGameControls;assembly=CardGameControls\'. Line 14 Pos 14[详细]
2023-04-04 17:56 分类:问答Append binding data not replace with binding data
i have a TextBlock Text target with a business object as a Binding Source, and this binding works fine with updates to the business object property propagating to the GUI, with the help of INotifyProp[详细]
2023-04-04 15:35 分类:问答WPF RibbonButton: LargeImageSource and Label not updated via DataTriggers
I\'m puzzled by a peculiar phenomenon in RibbonButton\'s behavior. Everything works fine when I set the LargeImageSource and the Labe开发者_运维技巧l statically in XAML:[详细]
2023-04-04 11:36 分类:问答How to create moveable "free floating" panel that can freely move over the canvas and is partially transparent
The scenario is that i wan开发者_如何学运维t the user to create a shape in a small panel that opens (the added shape can later be placed on the canvas), but for a better reference, i want the user to[详细]
2023-04-04 04:50 分类:问答Detect event when user clicks the program on the taskbar?
I want to know which event is firing in wpf window form if the user click my application on the taskbar to minimize or maximize the application开发者_JS百科. I just tried Activated and Deactivated eve[详细]
2023-04-03 21:48 分类:问答