Top "Xaml" questions

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

Set focus on TextBox in WPF from view model

I have a TextBox and a Button in my view. Now I am checking a condition upon button click and …

c# wpf xaml mvvm textbox
How to get the size of the current screen in WPF?

I know I can get the size of the primary screen by using System.Windows.SystemParameters.PrimaryScreenWidth; System.Windows.SystemParameters.…

c# wpf xaml size screen
Any way to make a WPF textblock selectable?

How to allow TextBlock's text to be selectable? I tried to get it to work by displaying the text using …

wpf xaml textbox textblock
How do I bind a WPF DataGrid to a variable number of columns?

My WPF application generates sets of data which may have a different number of columns each time. Included in the …

c# wpf xaml data-binding datagrid
How do I make XAML DataGridColumns fill the entire DataGrid?

I am using DataGrids in XAML (not Silverlight) with resizable columns, the DataGrid will expand if the user resizes the …

c# wpf xaml datagrid wpf-controls
How can I make a TextBox be a "password box" and display stars when using MVVM?

How can I do this in XAML: PSEUDO-CODE: <TextBox Text="{Binding Password}" Type="Password"/> so that the user …

c# wpf xaml mvvm textbox
WPF: Create a dialog / prompt

I need to create a Dialog / Prompt including TextBox for user input. My problem is, how to get the text …

wpf xaml dialog prompt
WPF - add static items to a combo box

I've said it before and I'll say it again, the easiest examples for WPF are also the hardest to find …

wpf xaml combobox
WPF Application that only has a tray icon

I am a total WPF newbie and wonder if anyone could give me some pointers how to write an application …

c# .net wpf xaml
Adding a Button to a WPF DataGrid

I want to create a DataGrid control in WPF in which there is a button in the first cell of …

c# wpf xaml datagrid