WPF
Welcome to Windows Presentation Foundation (WPF) section of C# Corner. In this section, you will find articles, source code samples, tutorials, tips, resources, downloads, and news related to Windows Presentation Foundation in .NET 3.0.

Links

  • WPF Tutorials

    These links are the best tutorials for any beginner in WPF.
  • Getting Started With WPF

    WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security. It i...
  • What's New in WPF Version 4.5

    New and enhanced features in Windows Presentation Foundation (WPF) version 4.5.
  • What's new in WPF 4.5

    What is new features of WPF 4.5
  • Top 5 Memory leaks in WPF and Silverlight

    Check out this whitepaper/article to lean about WPF and Silverlight memory leaks. Top 5 Memory leaks in WPF and Silverlight
  • Download Prism 4.0

    Prism provides guidance designed to help you more easily design and build rich, flexible, and easy to maintain Windows Presentation Foundation (WPF) desktop applications.
  • Print a DataGrid in WPF

    In WPF, a Visual is an object that is parent class of all user interfaces including UIElement, Containers, Controls, UserControls, and even Viewport3DVisual.
  • Print a Window in WPF

    The PrintVisual prints a Visual object. That means, by using the PrintVisual method, we can print any control, container, Window or user control.
  • Rotate an Image in WPF

    Here is the code for rotating an image using WPF. first we will define the image.
  • WPF Color Animation in SolidColorBrush

    This code snippet shows how to fade from one color to other when you mouse over a rectangle in WPF and XAML.
  • How to Navigate to a Page in WPF

    You can use NavigationService.Navigate method to navigate to a page.
  • How to call a Page function from XAML in WPF

    This code snippet shows how to call a Page function from XAML in WPF.
  • How to determine if a WPF page is hosted in a Browser

    How to determine if a WPF page is hosted in a Browser
  • Automatically resize a Window to fit content in WPF

    Automatically resize a Window to fit content in WPF
  • Get all Windows in a WPF Application

    The Windows property of an Application represents all Window instances in an Application.
  • Get and Set the Main Window of a WPF Application

    Here the StartupUri sets the startup Window of an application. If you want to change the Startup window to some other window, just change this value.
  • MessageBox in WPF

    MessageBox.Show method launches a message box in WPF.
  • Show a Window in WPF

    When a Window is created at run-time using the Window object, it is not visible by default.
  • Close a Window in WPF

    When a Window is created at run-time using the Window object, it is not visible by default.
  • Return Results from a DialogBox in WPF

    Before a dialog box closes, its DialogResult property should be set with a Nullable(Of (T)) Boolean that indicates how the user closed the dialog box.
  • View More