Top "Wpf" questions

Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

What is the correct way to create a single-instance WPF application?

Using C# and WPF under .NET (rather than Windows Forms or console), what is the correct way to create an …

c# .net wpf mutex
Reading DataSet

How do I read data from a DataSet in WPF? I have a train schedule table with just 2 columns and …

c# .net wpf ado.net dataset
The calling thread must be STA, because many UI components require this

I am using http://www.codeproject.com/KB/IP/Facebook_API.aspx I am trying to call the XAML which …

wpf xaml multithreading facebook
WPF: simple TextBox data binding

I have this class: public partial class Window1 : Window { public String Name2; public Window1() { InitializeComponent(); Name2 = new String('a', 5); myGrid.…

wpf data-binding textbox
How can I get the active screen dimensions?

What I am looking for is the equivalent of System.Windows.SystemParameters.WorkArea for the monitor that the window is …

c# wpf
WPF checkbox binding

While it is trivial to store a checkbox's checked state in a variable using the checkbox's Click event, how would …

c# wpf xaml data-binding checkbox
How do i put a border on my grid in WPF?

How do i put a border on my grid in C#/WPF? This is what i would like it to …

c# wpf
How to bind inverse boolean properties in WPF?

What I have is an object that has an IsReadOnly property. If this property is true, I would like to …

wpf .net-3.5 styles
How to bind an enum to a combobox control in WPF?

I am trying to find a simple example where the enums are shown as is. All examples I have seen …

c# .net wpf xaml data-binding
How to bind to a PasswordBox in MVVM

I have come across a problem with binding to a PasswordBox. It seems it's a security risk but I am …

c# wpf mvvm wpf-controls passwords