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.

RECENT POSTS

  • Working with WPF Calendar

    The Calendar class in WPF represents Windows calendar control that allows users to pick a date or date range from a monthly view. The Calendar element in XAML can be used to create a calendar at de...
  • WPF CheckBox

    The CheckBox class in C# represents a WPF Check Box control. The <CheckBox> element in XAML can be used to create a CheckBox at design time. The code examples in this tutorial demonstrate how...
  • Button Control In WPF

    The Button class and XAML Button element represent a WPF Button control that is used to execute code on the button click event. Code examples in this article covers how to use Button, add a button ...
  • WPF Border Tutorial

    The Border class in C# represents a border control in WPF. XAML Border element is the border representation in UI. Learn how to create borders around WPF controls using XAML and C#.
  • ScrollBar In WPF

    The WPF Scrollbar control adds scroll bars to a Windows or a control. The code examples in this tutorial shows use the ScrollBar class in C# and ScrollBar element in XAML to add scrolling functiona...
  • WPF Slider Control

    The Slider class in WPF represents the slider control in C#. The code example in this article creates a complete slider control functionality using XAML and C#.
  • WPF Interview Questions And Answers

    In this article you will learn about the most asked WPF Interview questions and answers.
  • Transferring data from one ListBox to another in WPF

    This article discusses how we can transfer items from one ListBox to another in WPF.
  • Transferring data from one ListBox to another in WPF

    This article discusses how we can transfer items from one ListBox to another in WPF.
  • 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 ...
  • 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...
  • 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...
  • 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...
  • 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 ...
  • 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 ...
  • 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...
  • 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 ...
  • 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...
  • 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...
  • 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...
  • 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...
  • Validations in WPF

    Validating dynamically in WPF using patterns like MVVM.
  • 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...
  • 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.
  • Mastering WPF DataGrid in a Day: Hour 1 Introduction

    This article, an introduction to the WPF DataGrid, is the first article of a series.