Top "Xaml" questions

Extensible Application Markup Language (XAML) is a declarative XML-based language used for initializing structured values and objects in various frameworks.

How do I get a TextBox to only accept numeric input in WPF?

I'm looking to accept digits and the decimal point, but no sign. I've looked at samples using the NumericUpDown control …

c# wpf xaml textbox numericupdown
How do I use WPF bindings with RelativeSource?

How do I use RelativeSource with WPF bindings and what are the different use-cases?

.net wpf xaml data-binding relativesource
How to get StackPanel's children to fill maximum space downward?

I simply want flowing text on the left, and a help box on the right. The help box should extend …

wpf xaml autolayout autoresize dockpanel
WPF: Setting the Width (and Height) as a Percentage Value

Say I want a TextBlock to have its Width equal to it's Parent container's Width (ie, stretch from side to …

wpf xaml resize
Difference between SelectedItem, SelectedValue and SelectedValuePath

What is the difference betweeen the following: SelectedItem SelectedValue SelectedValuePath All these dependency properties are defined in Selector class. I …

wpf silverlight xaml selecteditem selectedvalue
How to make overlay control above all other controls?

I need to make a control appear above all other controls, so it will partially overlay them.

wpf xaml controls overlay
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 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 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
Handling the window closing event with WPF / MVVM Light Toolkit

I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window in …

c# wpf xaml mvvm mvvm-light