About 2,450,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. 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...

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

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

  5. WPF: Cannot reuse window after it has been closed

    May 24, 2016 · When we try to show the Window which is closed, we will get the following exception. "Cannot set Visibility or call Show, ShowDialog, or …

  6. Image not displaying at runtime C# WPF - Stack Overflow

    I am trying to display an image in WPF but for some reason, the image won't show! It appears on the Visual Studio editor but when I run the application it doesn't appear. Here is some of my …

  7. wpf - How to set a dialog position to show at the center of the ...

    To get a WPF Dialog to position at the centre of a Windows Forms parent form I passed the parent form to the dialog since Application.Current didn't return the Windows Form parent (I …

  8. Window vs Page vs UserControl for WPF navigation?

    Window is like Windows.Forms.Form, so just a new window Page is, according to online documentation: Encapsulates a page of content that can be navigated to and hosted by …

  9. wpf - Change color of Button when Mouse is over - Stack Overflow

    I want to change the background color of a button when IsMouseOver == True <Button Command="{Binding ClickRectangleColorCommand}" Background="{Binding Color, …

  10. 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 side) or a percentage of it's Parent Container Width, how can I accomplish this in …