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

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

  7. c# - Project structure for MVVM in WPF - Stack Overflow

    What is the project structure you end up with when using MVVM in WPF? From the tutorials I saw now, they usually have folders: Model, ViewModel and View. In Model you put classes like …

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

  9. How to run and interact with an async Task from a WPF gui

    I have a WPF GUI, where I want to press a button to start a long task without freezing the window for the duration of the task. While the task is running I would like to get reports on progress, an...

  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 …