I have a TextBox named textbox1 and a Button named button1. When I click on button1 I want to browse my files to search only for image files (type...
How can I change the background and foreground colors of a WPF Textbox programmatically in C#? 8 Answers 8
How do I disable selection in a ListBox? 17 Answers 17
I have a ComboBox that doesn’t seem to update the SelectedItem/SelectedValue. The ComboBox ItemsSource is bound to a property on a ViewModel class that lists a bunch of RAS...
When I debug my application in Microsoft Visual Studio 2015 Update 2, and I open a custom wpf dialog I get some extra debugging options in a black square....
I am trying to find a simple example where the enums are shown as is. All examples I have seen tries to add nice looking display strings but I...
It seems that when a WPF application starts, nothing has focus. This is really weird. Every other framework I’ve used does just what you’d expect: puts initial focus on...
I am using http://www.codeproject.com/KB/IP/Facebook_API.aspx I am trying to call the XAML which is created using WPF. But it gives me an error: The calling thread must be STA, because...
I bind my datagrid using //fill datagrid public DataTable GameData { get { DataSet ds = new DataSet(); FileStream fs = new FileStream(IMDB.WebPage.Class.Config.XMLPath, FileMode.Open, FileAccess.Read); StreamReader reader = new...
I am currently writing a desktop application, but I cannot seem to get my head around what to use when redirecting someone to a new section of the application....