I have a ListBox with a DataTemplate.The template has a Button on it.When the Button is clicked I want to do some logic with the object that is each row (in this case an object called WorkItemTypeMapp
I am working with C# and a WPF project. I created a button that, when clicked, process information that generally can last less than 3 minutes; during that time I would like to show a message box ind
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
How can I add an window/event listener/handler to a wpf-window? I want to kn开发者_如何学Goow, if the user wants to close the window.You can override OnClosing inside the Window.xaml.cs.You can subscr
I\'m using WPF in WinForms with ElementHost. When the form loads, there is 开发者_Go百科a flash of black background where the ElementHost is about to load. This looks kind of bad. Any suggestions on h
Is there a simple way to change the text color of a WPF Toolkit Calendar control? I thought it would be simple, but it appears that the color is hard-coded. To change it, I am going to have to go pret
I have the following XAML: <GridView x:Key=\"myGridView\"> <GridViewColumn CellTemplate=\"{StaticResource myTemplate}\"/>
I have an odd problem that\'s got me stumped. I am modifying the WPF Calendar control template, and for reasons that I explain below, I have to use a Color resource, rather than a SolidColorBrush reso
I have a TabControl in my WPF application that uses the default colors for the WPF tab control. In other words, the active tab is white, a开发者_C百科nd the inactive tabs are silver. I have changed th
I am creating a WPF app with a list box that I am binding to project names. As a decorative element, I want to place a small icon next to each item in the list, similar to the way Outlook does in its