Top "Wpf" questions

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

Data binding to SelectedItem in a WPF Treeview

How can I retrieve the item that is selected in a WPF-treeview? I want to do this in XAML, because …

c# wpf mvvm treeview selecteditem
Window vs Page vs UserControl for WPF navigation?

I am currently writing a desktop application, but I cannot seem to get my head around what to use when …

c# wpf
Change image source in code behind - Wpf

I need to set image source dynamically, please note my image is in somewhere on the Network, here is my …

c# wpf imagesource
How to make modal dialog in WPF?

I am writing my first application in WPF and want to have the user input some data on a modal …

.net wpf dialog modal-dialog
Align items in a stack panel?

I was wondering if I can have 2 controls in a horizontal-oriented StackPanel so that the right item should be docked …

wpf layout wpf-controls stackpanel alignment
Where is the WPF Numeric UpDown control?

Getting into the first serious WPF project. It seems like there are a lot of basic controls flat out missing. …

wpf controls numericupdown updown
Create a menu Bar in WPF?

I want to create a menu bar identical to the one in windows forms in my WPF application. How would …

c# wpf xaml
DataGrid get selected rows' column values

I'm trying to get the values of each column of a selected row in a DataGrid. This is what I …

c# .net wpf datagrid
How to get a List<string> collection of values from app.config in WPF?

The following example fills the ItemsControl with a List of BackupDirectories which I get from code. How can I change …

c# wpf itemscontrol app-config
DataTrigger where value is NOT null?

I know that I can make a setter that checks to see if a value is NULL and do something. …

wpf xaml binding visibility datatrigger