Top "Wpf" questions

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

programmatically add column & rows to WPF Datagrid

I'm new to WPF. I just want to know how should we add columns and rows programmatically to a DataGrid …

c# wpf datagrid wpf-controls silverlight-2.0
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
Watermark / hint text / placeholder TextBox

How can I put some text into a TextBox which is removed automatically when user types something in it?

c# wpf textbox watermark hint
Add an image in a WPF button

I tried this solution: <Button> <StackPanel> <Image Source="Pictures/img.jpg" /> <TextBlock>…

c# wpf image button
How to open a web page from my application?

I want to make my WPF application open the default browser and go to a certain web page. How do …

c# .net wpf
Text vertical alignment in WPF TextBlock

How do I assign vertical center alignment to the text inside a TextBlock? I found TextAlignment property but it is …

wpf vertical-alignment textblock
Load a WPF BitmapImage from a System.Drawing.Bitmap

I have an instance of a System.Drawing.Bitmap and would like to make it available to my WPF app …

c# wpf bitmap
How can I wrap text in a label using WPF?

I have a TextBox and a Label. After clicking a button, I execute the following code: label1.Content = textbox1.Text; …

c# .net wpf label word-wrap
Change WPF controls from a non-main thread using Dispatcher.Invoke

I have recently started programming in WPF and bumped into the following problem. I don't understand how to use the …

c# wpf multithreading dispatcher
Get selected row item in DataGrid WPF

I have a DataGrid, bound to Database table, I need to get the content of selected row in DataGrid, for …

wpf datagrid selecteditem