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.


  • Nitin Pandit

    WPF Interview Questions And Answers

    In this article you will learn about the most asked WPF Interview questions and answers.
    Nitin Pandit Dec 03, 2015
  • Mahesh Chand

    Transferring data from one ListBox to another in WPF

    This article discusses how we can transfer items from one ListBox to another in WPF.
    Mahesh Chand Jul 28, 2008
  • Mahesh Chand

    WPF TextBlock

    A TextBlock control in WPF provides a lightweight control for displaying small amounts of flow content. This tutorial and code examples demonstrates how to use a WPF TextBlock control in a WPF app ...
    Mahesh Chand Mar 18, 2010
  • Siddhesh Chalke

    Overview Of Styles In WPF

    In my ‘Overview of Resources in WPF’ article I talked about Resources and how they are useful. But there is one drawback with ‘Resources’ in WPF. Resource collection of each element contains indivi...
    Siddhesh Chalke Nov 13, 2018
  • Mahesh Chand

    WPF TextBox

    WPF TextBox control represent a control that can be used to display or edit unformatted text. The TextBox class in C# represents the control. The XAML <TextBox> element represents the TextBox...
    Mahesh Chand Mar 18, 2010
  • Anoop Kumar Sharma

    ToolTip in WPF

    The ToolTip element in XAML adds a tooltip to a WPF control. The ToolTip class represents a tooltip in C#. The ToolTip property of a control represents the tool tip of the control. Code code exampl...
    Anoop Kumar Sharma Oct 20, 2014
  • Mahesh Chand

    ListBox In WPF

    WPF ListBox class represents a ListBox control that is collection of ListBoxItem. The <ListBox> XAML represents the UI of a ListBox. This tutorial and code examples are the various use cases ...
    Mahesh Chand Aug 26, 2008
  • Mahesh Chand

    Working With WPF TreeView

    WPF TreeView class represents a TreeView control. XAML <TreeView> element is the corresponding UI element for WPF TreeView. The code examples in this tutorial demo how to work with a WPF Tre...
    Mahesh Chand Feb 27, 2009
  • Mahesh Chand

    WPF Toolbar Tutorial

    The <Toolbar> element in XAML and the Toolbar class in WPF represent a Toolbar control. This tutorial consists of several code examples of how to create a Toolbar and add buttons to a toolbar...
    Mahesh Chand Jan 14, 2015
  • Mahesh Chand

    WPF ListView Tutorial

    WPF ListView control provides functionality to create a List of collection in a GridView. The <ListView> XAML represents the UI of a ListView. This tutorial and code examples are various use ...
    Mahesh Chand Sep 10, 2008
  • Mahesh Chand

    GridView In WPF

    A GridView control provides interactive Grid functionality. WPF does not provide a GridView control. However, WPF ListView supports a GridView mode. The code sample in this tutorial demonstrates ho...
    Mahesh Chand Nov 09, 2009
  • Mahesh Chand

    WPF WrapPanel Tutorial

    WPF WrapPanel control is a panel that positions child elements in sequential position from left to right by default. The WrapPanel element in XAML and the WrapPanel class in C# represent a WrapPane...
    Mahesh Chand Dec 23, 2009
  • Siddhesh Chalke

    Overview Of Composite Collection In WPF

    Recently in our project, which is based on WPF framework, we wanted to use ItemsControl to list out different types of objects. I couldn’t use general List, ObservableCollection or any other type o...
    Siddhesh Chalke Nov 04, 2018
  • Siddhesh Chalke

    Overview Of WPF Resources

    Resources in WPF are set of objects like Brushes, Templates, styles etc. which are stored in Dictionary and referenced by unique strings. Usually they are declared once and used throughout the appl...
    Siddhesh Chalke Oct 28, 2018
  • Nipun Tomar

    WPF DataGrid Style

    The DataGrid control provides a flexible way to display a collection of data in rows and columns. The DataGrid includes built-in column types and a template column for hosting custom content. The b...
    Nipun Tomar Jan 01, 2011
  • Mahesh Chand

    WPF Drawing Brush

    The Drawing object in WPF represents a 2-D drawing that include shapes, text, video, image and other drawings. A Drawing Brush represented by the DrawingBrush object paints a surface with a drawing.
    Mahesh Chand Feb 16, 2010
  • Mahesh Chand

    Mastering WPF DataGrid in a Day: Hour 1 Introduction

    This article, an introduction to the WPF DataGrid, is the first article of a series.
    Mahesh Chand Oct 09, 2014
  • 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 Sep 28, 2009
  • Deepika Sohani

    WPF Dependency Property

    While working with WPF you all may have come across the word Dependency Property, wondering what this may be and is it any time related to the property provided by CLR? So here I am with this artic...
    Deepika Sohani Jul 24, 2013
  • Mahesh Chand

    Image Viewer In WPF

    ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.
    Mahesh Chand Aug 12, 2008
  • View More