
How do I use WPF bindings with RelativeSource? - Stack Overflow
How do I use RelativeSource with WPF bindings and what are the different use-cases?
c# - Example using Hyperlink in WPF - Stack Overflow
Apr 20, 2012 · Example using Hyperlink in WPF Asked 13 years, 6 months ago Modified 1 year, 11 months ago Viewed 256k times
wpf - The calling thread must be STA, because many UI …
Apr 23, 2018 · If you make the call from the main thread, you must add the STAThread attribute to the Main method, as stated in the previous answer. If you use a separate thread, it needs to …
WPF WebBrowser control - how to suppress script errors?
I found a similar question here: How do I suppress script errors when using the WPF WebBrowser control? But non of those solutions work for me. I need to stop the popups from appearing as i …
c# - Select folder dialog WPF - Stack Overflow
Oct 24, 2010 · WPF look & feel, this dialog must look like part of a modern application designed for Windows Vista/7 and not Windows 2000 or even Win9x. As I understand, until 2010 (.Net …
wpf - How can I define a variable in XAML? - Stack Overflow
I have the following two buttons in XAML: <Button Content="Previous" Margin="10,0,0,10"/> <Button Content="Next" Margin="0,0,10,10"/> How can I define "10" to be a ...
c# - Pan & Zoom Image - Stack Overflow
Apr 12, 2009 · I want to create a simple image viewer in WPF that will enable the user to: Pan (by mouse dragging the image). Zoom (with a slider). Show overlays (rectangle selection for …
How to get controls in WPF to fill available space?
Aug 30, 2008 · Some WPF controls (like the Button) seem to happily consume all the available space in its' container if you don't specify the height it is to have. And some, like the ones I …
c# - Setting WPF image source in code - Stack Overflow
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 examples I've come up with the below code. For some reason it doesn't …
Get selected value from combo box in C# WPF - Stack Overflow
Dec 4, 2010 · Get selected value from combo box in C# WPF Asked 14 years, 11 months ago Modified 1 year, 5 months ago Viewed 449k times