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; My question is, how … Read more
I have a TextBox and a Label. After clicking a button, I execute the following code: label1.Content = textbox1.Text; My question is, how … Read more
I need to search a WPF control hierarchy for controls that match a given name or type. How can I do this? 20 … Read more
How can I put some text into a TextBox which will be removed automatically when the user types something in it? 34 Answers … Read more
I want the user to select a directory where a file that I will then generate will be saved. I know that in … Read more
What are differences between Visibility.Collapsed and Visibility.Hidden in WPF? 3 Answers 3
I’m considering either a ListBox or a ListView for a WPF application. It seems either supports data binding and item templates. My application … Read more
Some WPF controls (like the Button) seem to happily consume all the available space in its’ container if you don’t specify the height … Read more
I’m trying to set a WPF image’s source in code. The image is embedded as a resource in the project. By looking at … Read more
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, … Read more
This question already has answers here: Globally catch exceptions in a WPF application? (6 answers) Closed 5 years ago. Sometimes, under not reproducible … Read more