About 2,690,000 results
Open links in new tab
  1. What is the difference between WPF and WinForms?

    Aug 26, 2009 · 1 The single most important difference between WinForms and WPF is the fact that while WinForms is simply a layer on top of the standard Windows controls (e.g. a …

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

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

  4. WPF WebBrowser control - how to suppress script errors?

    WPF WebBrowser control - how to suppress script errors? Asked 14 years, 5 months ago Modified 3 years, 11 months ago Viewed 63k times

  5. WPF: ItemsControl with scrollbar (ScrollViewer) - Stack Overflow

    I followed this small "tutorial" on how to add a scrollbar to an ItemsControl, and it works in Designer view, but not when I compile and execute the program (only the first few items show …

  6. How to bind multiple values to a single WPF TextBlock?

    May 25, 2016 · I'm currently using the TextBlock below to bind the value of a property named Name: <TextBlock Text="{Binding Name}" /> Now, I want to bind another property named …

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

  8. Accessing a resource via codebehind in WPF - Stack Overflow

    I have a custom collection defined in my window resources as follows (in a Sketchflow app so the window is actually a UserControl): <UserControl.Resources> <ds:MyCollection …

  9. Set background color of WPF Textbox in C# code - Stack Overflow

    Jun 11, 2009 · How can I change the background and foreground colors of a WPF Textbox programmatically in C#?

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