Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

Learn how to create and style a WPF GroupBox in XAML and C#, including headers, borders, and layouts containing multiple controls.

The Grid class in WPF represents a grid panel. Grid panel can also be created at design-time using XAML <Grid> element. The code examples in this article, you will learn how to use a WPF Grid Panel using XAML and C#.

A DatePicker control is used to create a visual DatePicker that let user to pick a date and fire an event on the selection of the date. The DatePicker class in C# and <DatePicker> element in XAML represent a WPF DatePicker control. This code example in this article demonstrates how to create and use a DatePicker control in WPF with the help of XAML and C#.

In this article, you will learn how to explain combo box binding in MVVM - WPF. INotifyPropertyChanged, ICommand interface

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 design-time. The code examples in this tutorial demonstrates how to use a Calendar control in WPF using XAML and C#.

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 to use a CheckBox control in WPF with the help of XAML and C#. Code also show how to check and uncheck a CheckBox dynamically.

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 click event handler, and format a WPF button in C# and XAML.

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

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 functionality to a WPF window or WPF control. Vertical scrollbar to a Window in C#. Horizontal scroll bar to a Window in C# and WPF.

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

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

Learn how to create and configure WPF TextBlock controls in XAML and C#, including fonts, alignment, wrapping, inline text, decorations, and backgrounds.

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 individual objects and you need to refer them separately to apply them.

This is a reference tutorial of XAML ListBox element with code examples written in XAML and C#.

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 control in WPF using XAML and C#.

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 how to create a GridView in WPF using C#.

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 of collection for that matter to set ItemSource of ItemsControl, since they restrict only one type of object. Thus, I searched on the internet and found out about CompositeCollection. In this article I am going to explain how to use CompositeCollection to list out different types of objects in WPF.

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 application. They are like CSS (Cascading Style Sheets) used in styling Web Pages.

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 built-in row type includes a drop-down details section that you can use to display additional content below the cell values.

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.

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

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 article. Let’s try to understand this amazing feature of WPF.

ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.

Learn how to use the WPF Hyperlink element in FlowDocument content, including setting NavigateUri and creating hyperlinks dynamically in C#.

Rating Control was introduced in WPF Toolkit February 2010 release. In this article we will see how we can use the Rating Control.

In this article, we will see how to use Media Element in WPF and we will explore some of the basic functionalities such as Play, Pause, Stop, Back and Forward.

This article demonstrates how to draw scatter charts using WPF and C#.

Charting in WPF is supported by an extended library. This article demonstrates how to draw area charts in WPF and C#.

Learn how to use the WPF Pen class in XAML and C# to draw shape outlines, configure brushes and thickness, and apply line caps, joins, and dash styles.

The Rectangle object represents a rectangle shape and draws a rectangle with the given height and width. This article demonstrates how to create rectangles in WPF and XAML.
Everything on WPF, not only its articles: the WPF page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article