Top "Wpf-controls" questions

WPF controls include UserControls, which are composite collections of other controls, and CustomControls, which are controls built with WPF styles and templates.

How to display the current time and date in C#

How do you display the current date and time in a label in c#

c# wpf winforms wpf-controls
How to bind Close command to a button

The easiest way is to implement ButtonClick event handler and invoke Window.Close() method, but how doing this through a …

wpf button wpf-controls commandbinding
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
Wpf control size to content?

How do I make a WPF control to change its size according the content in it?

wpf wpf-controls autosize
AutoComplete TextBox in WPF

Is it possible to make a textbox autocomplete in WPF? I found a sample where a combo box is used …

wpf textbox autocomplete wpf-controls
Get the item doubleclick event of listview

What do I need to do in order to reference the double click event for a listview control?

c# .net wpf wpf-controls
WPF: ItemsControl with scrollbar (ScrollViewer)

I followed this small "tutorial" on how to add a scrollbar to an ItemsControl, and it works in Designer view, …

wpf wpf-controls itemscontrol scrollviewer
How to set row border and background color in WPF Grid

How can we set border and background color in the WPF grid control , i am creating rows and column dynamically …

wpf grid wpf-controls
How to set the location of a WPF window?

I have a List View in which I have defined a custom cell as a user control. In the custom …

wpf wpf-controls
How to get children of a WPF container by type?

How can I get the child controls of type ComboBox in MyContainer Grid in WPF? <Grid x:Name="MyContainer"&…

c# wpf wpf-controls