Top "Wpf" questions

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

How to convert image to byte array

Can anybody suggest how I can convert an image to a byte array and vice versa? I'm developing a WPF …

c# wpf
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
How do I open a second window from the first window in WPF?

I am new to WPF. I have two windows, such as window1 and window2. I have one button in window1. …

c# wpf
Get selected value from combo box in C# WPF

I have just started using WPF forms instead of Windows Forms forms. In a Windows Forms form I could just …

c# wpf combobox
Is there a MessageBox equivalent in WPF?

Is there a standard message box in WPF, like WinForms' System.Windows.Forms.MessageBox.Show(), or should I use the …

c# wpf messagebox
How can I find WPF controls by name or type?

I need to search a WPF control hierarchy for controls that match a given name or type. How can I …

wpf controls find
Open directory dialog

I want the user to select a directory where a file that I will then generate will be saved. I …

wpf filesystems dialog
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
Multiline for WPF TextBox

I am developing an app for sending some feedback. Basically I'm trying to make a TextBox for comments, but I'm …

wpf textbox multiline
Adding placeholder text to textbox

I am looking for a way to add placeholder text to a textbox like you can with a textbox in …

c# wpf placeholder