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.


  • Anson Davis

    Why WPF?

    WinForms is not even close to WPF when it comes to binding capabilities. Trust me, when you experience binding in WPF (how explicit and efficient it is, to be specific), you won’t be able to really...
    Anson Davis Feb 21, 2018
  • Asma Khalid

    WPF - Dropdown Menu/Combobox Menu Data Binding Using Text File

    This article is about WPF dropdown menu/combobox menu data binding using text file
    Asma Khalid Feb 16, 2018
  • Asma Khalid

    WPF - File Menu User Control

    This article is about the development of WPF File Menu User control.
    Asma Khalid Feb 15, 2018
  • Mahesh Chand

    Column Chart In WPF

    This article demonstrates how to draw column charts using WPF and C#.
    Mahesh Chand Feb 13, 2018
  • Mahesh Chand

    DataGrid in WPF

    This article is a part 1 of my WPF DataGrid series. In this part, you will learn how to use a DataGrid control, set its properties, and display data from a collection.
    Mahesh Chand Feb 11, 2018
  • Kartik Pawar

    Colored Label Text Using WPF

    In this blog, we will discuss colored label text using WPF.
    Kartik Pawar Feb 02, 2018
  • Kartik Pawar

    Reverse Of Entered Text Using WPF

    In this blog, we will learn to create a WPF program for displaying the reverse of entered text.
    Kartik Pawar Jan 30, 2018
  • Ammar Shaukat

    Using XAML Progress Bar In WPF

    Long running tasks in any application make the application or software nonresponsive. So to keep the user updated about the running task and also keep the application responsive during long running...
    Ammar Shaukat Jan 12, 2018
  • Sagnik Majumder

    Routed Events, WPF Tree Structures, Event Sequence for Beginners

    Hello WPF aspirants, I take this opportunity to present to you a simple example of WPF Routed Events and supporting theory on Routed Events, Event sequences, what happens when a button is clicked, ...
    Sagnik Majumder Dec 30, 2017
  • Kailash Chandra Behera

    Validation Of Excel Data In C#

    This article demonstrates how to validate an Excel sheet before uploading or storing its data into a database.
  • Nirav Daraniya

    Explain INotifyPropertyChanged In WPF - MVVM

    In this article, you will learn how to explain INotifyPropertyChanged in WPF.
    Nirav Daraniya Dec 01, 2017
  • Sagnik Majumder

    Simplest WPF Dependency Property For Beginners On Background Color

    This blog describes how to create a simple dependency property in WPF which applies on an user control and sets the background color of the property.
    Sagnik Majumder Nov 22, 2017
  • Sagnik Majumder

    Simplest WPF Dependency Property For Beginners On Background Color

    Dependency property is not wrapped over any private members unlike CLR properties, and it is also stored in Key-Value pairs inside the DependencyObject host instance. You must use Dependency proper...
    Sagnik Majumder Nov 19, 2017
  • Hamati Rami

    Using UIModel Class For Binding In WPF

    When creating WPF applications, you use binding. It’s a very nice workflow except for one point, where I want to bing the ContentProperty of a Label or a TextBlock. If I set this up in the xaml cod...
    Hamati Rami Nov 10, 2017
  • Agus Suhanto

    Applying Dependency Injection In DevExpress MVVM WPF Application Introduction

    In this post, I’ll give a tutorial on how to apply dependency injection in DevExpress WPF application. This post assumes you already know about dependency injection, WPF application, and also MVVM....
    Agus Suhanto Oct 31, 2017
  • Hamati Rami

    Quick Workaround To GUI Update In Property Change Of Observable Collection

    I’m new to WPF and data binding, after wandering around the web for a good solution, all I could find were (in my opinion) overly complicated solutions to a problem that will most probably be fixed...
    Hamati Rami Oct 26, 2017
  • Punit Jain

    Disable Double Click In WPF Application

    Many times, we want to disable the double click of a button in an application. This may be to avoid opening the same popup twice or to avoid saving a new record twice.
    Punit Jain Oct 25, 2017
  • Valerii Tereshchenko

    Selection Manager For WPF/MVVM

    This article presents the idea and implementation of a class to manage the selection of only one element in different linear and hierarchical structures.
  • Valerii Tereshchenko

    Async Validation In WPF

    Quite often validation requires web requests, database calls or some other kind of actions which require significant amount of time. In this case, UI should be responsible during the validation, bu...
  • Gunjesh

    An Overview Of WPF Architecture

    In continuation of my previous article “ABCs of WPF”, I am going to discuss the architecture of WPF.
    Gunjesh Aug 17, 2017
  • Shivendra Mani Mishra

    Multi Select Combobox in WPF

    In this article you will learn Multiselect Combobox in WPF.
  • Wen Dong

    WPF Note

    Points from my learning about WPF/ XAML.
    Wen Dong Aug 08, 2017
  • Pradeep Yadav

    Types Of DataBinding In WPF

    DataBinding is a mechanism in WPF applications that provides a simple and easy way for applications to display and interact with the data.
    Pradeep Yadav Jul 31, 2017
  • Pradeep Yadav

    DataBinding In WPF

    Data Binding is a mechanism in WPF applications that provides simple and easy way for application to display and interact with data.
    Pradeep Yadav Jul 28, 2017
  • Santhosh Ssquare

    Login Page Using WPF

    Sample Login application for WPF beginners. Simple one embedded with SQL Server as Back end, with MahApps integrated application with few animations.
    Santhosh Ssquare Jul 17, 2017
  • View More