About 2,960,000 results
Open links in new tab
  1. 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?

  2. 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 …

  3. 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

  4. 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 ...

  5. 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 …

  6. windows - What exactly is WPF? - Stack Overflow

    Sep 1, 2008 · WPF is the Windows Presentation Foundation. It is Microsoft's newest API for building applications with User Interfaces (UIs), working for both standalone and web-based …

  7. c# - How to easily draw graphs in WPF? - Stack Overflow

    @RachelGallen Could you tell me how to draw graphs of edge-connected vertices using Dynamic Data Display? The documentation is poor and I can't tell from the tutorials how to do this kind …

  8. wpf - Binding to static property - Stack Overflow

    Jan 7, 2015 · As of WPF 4.5 you can bind directly to static properties and have the binding automatically update when your property is changed. You do need to manually wire up a …

  9. WPF - Adopt size of parent - Stack Overflow

    May 12, 2016 · WPF - Adopt size of parent Asked 13 years, 5 months ago Modified 6 years, 5 months ago Viewed 52k times

  10. 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 …