C# Corner

  About WPF

Windows Presentation Foundation ( WPF) is Microsoft's next generation UI (User Interference) framework is used for create applications with a rich user experience. WPF is part of the .NET framework 3.0 and higher its versions. WPF combined with application UIs, 2D graphics, 3D graphics, documents and multimedia into one single framework which are more reliable or using in designing in web applications . WPF vector based rendering engine uses hardware acceleration of modern graphic cards. The main working of WPF to makes the UI more faster, scalable and resolution independent over previous designing technologies .

Related resources for WPF
  • Create Custom Dependency Property In WPF11/25/2019 9:08:21 AM. In this article we will see how to create custom dependency property.
  • Dependency Properties In WPF11/25/2019 9:05:07 AM. In this article we will understand what dependency properties are and how use dependency property.
  • Bind Custom Object List To Treeview Using MVVM In WPF11/25/2019 8:15:48 AM. To understand this article, the reader should have knowledge of MVVM and Bindings.
  • ICommand Interface In MVVM - WPF11/7/2019 11:36:52 PM. In this article, you will learn about ICommand in WPF - MVVM.
  • System.Windows.Xps.Packaging Reference Missing10/24/2019 4:04:51 AM. If you need to use XpsDocument class in your WPF project, you must add reference to System.Windows.Xps.Packaging namespace.
  • Record Table Changes Notification From SQL Server To WPF Client9/19/2019 11:52:25 PM. This article shows how to push record table changes to WPF clients using WCF Call Back Service.
  • Consuming WCF Service in WPF Application9/11/2019 1:35:47 AM. In this article, we will learn how to consume a WCF Service in WPF Application.
  • Charting in WPF8/28/2019 6:07:47 AM. This tutorial demonstrates how to draw various charts including line chart, bar chart, column chart, area chart, scatter chart, and pie chart using WPF and C#.
  • WPF Menus A Complete Tutorial8/25/2019 9:11:30 AM. WPF Menu control is represented by the Menu class in C#. This menus tutorial and menus code examples explain how to use menus in WPF using C#.
  • Learn to Create WPF Setup Installer8/18/2019 11:05:00 PM. This article talks about the creation of WPF Application Setup Installer using the Visual Studio Installer project template.
  • WPF - Import/Export CSV File7/12/2019 8:13:37 AM. This article is about integration of CSVLibraryAK C#.NET library with WPF platform.
  • WPF Application With Google's Material Design6/25/2019 8:58:58 AM. This article shows you how to create a WPF application with Google’s Material Design.
  • What Does It Take To Create A Custom WPF Control6/15/2019 12:02:47 AM. In this article, you will learn what it takes to create a custom WPF control.
  • WPF ComboBox6/13/2019 1:49:37 PM. WPF ComboBox in C# represents a WPF combo box control. This tutorial demonstrates how to create and work with a ComboBox control in WPF using XAML and C#.
  • WPF Auto Complete/Suggestion Text Box Control6/12/2019 8:48:02 AM. This article is about the creation of text box with auto complete/suggestion feature along with its integration within your code in WPF platform.
  • TreeView In WPF6/11/2019 9:31:47 AM. WPF TreeView control displays hierarchical data in a parent and children form. TreeView class in C# and the <TreeView> XAML element are used to create a WPF TreeView. The code examples in this t
  • WPF ProgressBar6/9/2019 10:19:34 PM. C# ProgressBar class represents a WPF progress bar controlupd. The <ProgressBar> XAML elements can be used to create a progress bar at design time. The code examples in this tutorial demo how to
  • Observable Collections, Data Binding, And Complex Automation In WPF6/8/2019 4:49:29 PM. In this article, we are going to touch on Observable Collections, Data Binding, Complex Automation, WPF, and Third Party controls.
  • XAML Islands - UWP NavigationView Control In WPF Using .NET Core😍6/7/2019 8:17:12 AM. In this article, you will learn how to use XAML Islands to host the UWP NavigationView Control in a .NET Core WPF application.
  • DataGrid in WPF6/2/2019 7:55:59 AM. WPF DataGrid. WPF DataGrid control displays tabular data in a grid format. In this tutorial, you'll learn how to use a WPF DataGrid control, set its properties, and display data from a collection.
  • Text Analytics - Azure Cognitive Service😊5/31/2019 8:48:34 AM. Through this article, let us take an overview of Microsoft Azure Text Analytics in a simple WPF Application.
  • WPF MVVM Pattern: A Simple Tutorial for Absolute Beginners5/21/2019 4:14:50 AM. After some research I cracked the very basic steps in MVVM pattern, and then trying to write MVVM tutorials for absolute beginners.
  • Simple MVVM Pattern in WPF5/21/2019 2:19:18 AM. This article describes the basic use and functionality of the MVVM pattern in WPF.
  • WPF Interview Questions And Answers5/21/2019 12:19:16 AM. This article lists the most asked WPF Interview questions and answers. What is WPF? How to learn WPF? WPF tutorials.
  • ObservableCollection in WPF5/16/2019 5:45:07 AM. In this article I will demonstrate how ObservableCollection works in WPF.
  • Ribbon Control in WPF5/9/2019 6:28:30 AM. Throughout this article, you will learn about Microsoft Ribbon control in WPF.
  • User Control in WPF5/8/2019 12:30:23 AM. This article discusses how to create a User Control in XAML and WPF using Visual Studio 2008 and how to use it in a WPF application.
  • AutoComplete TextBox In WPF4/28/2019 9:47:18 AM. In this article, you will learn about AutoComplete TextBox in WPF.
  • WPF ICommand In MVVM4/12/2019 2:16:46 PM. Commands provide a mechanism for the view to update the model in the MVVM architecture. Commands provide a way to search the element tree for a command handler.
  • MessageBox In WPF4/8/2019 4:16:38 AM. A WPF message box is a dialog box that displays an alert or a message or also lets the user have some options to choose from. In this article, we will see working with MessageBox In WPF.
  • Using XAML Popup In WPF4/7/2019 7:12:05 AM. Popup in WPF is a Windows that appears on top of a UI and shows a message. These code examples demonstrate how to show a popup in WPF using XAML and C#.
  • WPF ListView Tutorial4/6/2019 8:55:32 PM. WPF ListView provides functionality to create a List of collection in a GridView. Learn how to use ListView in WPF and C#.
  • WPF Popup4/6/2019 8:58:41 AM. Learn how to implement a Popup in WPF using C#.
  • WPF ListView Grouping4/3/2019 4:13:48 PM. The code example shows how to group data in a WPF ListView.
  • ToolTip in WPF3/18/2019 10:32:08 AM. 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 examples in th
  • ListBox In WPF3/17/2019 10:08:17 AM. WPF ListBox class represents a ListBox control that is a collection of ListBoxItems. The <ListBox> XAML represents the UI of a ListBox. This tutorial and code examples are the various use cases
  • RDLC Report Using WPF And C#3/10/2019 9:11:50 PM. RDLC stands for Report Definition Language Client Side. It is used to create reports the with the in-built services provided by Microsoft.
  • DockPanel In WPF3/6/2019 3:21:54 AM. In this article, you will learn how to use a WPF DockPanel using XAML and C#. A DockPanel is used to dock child elements in the left, right, top, and bottom positions of the relative elements.
  • MVVM in WPF2/28/2019 4:45:09 AM. In this article, I'll review some of those best practices for designing and implementing client applications with WPF. By leveraging some core features of WPF in conjunction with the Model-View-Vi
  • WPF WrapPanel Tutorial2/27/2019 11:26:32 PM. 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 WrapPanel W
  • Transparent Brushes in WPF2/26/2019 11:08:34 PM. All elements in XAML including all brushes have an Opacity attribute that defines the transparency of an element. This article demonstrates how to use Opacity to implement transparent brushes in WPF u
  • WPF TextBox2/25/2019 3:43:59 AM. 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 co
  • RDLC SubReport Using C# And WPF2/22/2019 9:22:39 AM. In this article, I will be creating a project that uses a Subreport to display employee information based on the department of each employee.
  • Shaped Windows In WPF2/11/2019 8:45:09 AM. Every user interface in WPF is represented by a Window. In this article, you will learn how to create non-rectangular shaped Windows in WPF using C#.
  • WPF - Routed Events1/18/2019 3:13:54 AM. WPF - Routed Events. RoutedEvents have three main routing strategies which are as follows, Direct Event, Bubbling Event, and Tunnel Event. Basically a CLR event that is supported by an instance of the
  • Populating Hierarchical Data In TreeView In WPF Using MVVM1/15/2019 11:36:22 PM. In this article, we will learn how to populate hierarchical data in TreeView in WPF using MVVM architecture.
  • Learn WPF Using Google Place API1/14/2019 3:33:13 AM. In this article, we will learn WPF, using Google Place API with WPF control web browser in Visual Studio 2015.
  • Working with Button Control in WPF1/8/2019 11:24:49 PM. This article demonstrates how to create and use a Button control in WPF using XAML and C#.
  • Creating a WPF Application Using Prism1/2/2019 1:00:45 AM. This article explains an illustration of creating a windows application in WPF using Prism Lybrary. The solution includes recommended practices and techniques and is the basis for the procedures in P
  • Your first animations using XAML and Silverlight- Double animation: Part II12/26/2018 12:14:35 AM. In the previous article Your first animations using xaml and silverlight - Color animation: Part I, we've exposed a technique of how to deal with color animation. In this article, I will do same t
  • WPF Layout: WrapPanel12/21/2018 12:04:06 AM. This article focuses on the WrapPanel in details. WrapPanel is similar to StackPanel but it has an additional feature. The WrapPanel element in XAML represents a WrapPanel.
  • Transparent Background of a Control in WPF12/20/2018 11:59:21 PM. How to create a transparent control in WPF. WPF control's background can be transparent by setting the Background property to null.
  • Load an XML File Into a WPF DataGrid12/20/2018 4:03:28 AM. How to Load an XML File into a WPF DataGrid. The ReadXml method reads an XML file and loads it into a DataSet.
  • Introduction To WPF Expander Control12/17/2018 2:27:03 AM. Here we discuss how to use an Expander Control in WPF and how we create this control in JavaScript. First we look at JavaScript.
  • An Overview Of Expander Control In WPF12/17/2018 2:25:36 AM. The Expander control is like a GroupBox but with the additional feature to collapse and expand its content.
  • Implementing Scrolling in Windows using WPF ScrollViewer in C# and XAML12/15/2018 7:29:46 PM. The ScrollViewer class in C# and .NET represents a WPF ScrollViewer control at run-time. At design-time, the <ScrollViewer> element in XAML represents a ScrollViewer control. The code examples i
  • Working With A ScrollViewer Control In A WPF Application12/11/2018 10:19:52 PM. The ScrollViewer is an object that represents a scrollable area that contains other visible controls, it could be found within the System.Windows.Controls. At the contrast of a ScrollBar object, the
  • XAML RichTextBox Code Example12/10/2018 7:21:41 AM. The <RichTextBox> element in XAML represents a RichTextBox Windows control. The code example in this tutorial shows you how to use a RichTextBox control available in WPF.
  • Working with WPF RadioButton using C# and XAML12/9/2018 10:59:21 PM. The RadioButton class in WPF represents a Radio Button control. The code example in this tutorial shows how to create and use a RadioButton control available in WPF and XAML.
  • Working With WPF PasswordBox Using C# and XAML12/9/2018 9:26:58 PM. The PasswordBox class in WPF represents a Password TextBox that provides functionality to mask and hide characters. The code examples in this article demonstrate how to use a PasswordBox control in WP
  • Working with WPF Label using XAML and C#12/8/2018 7:54:33 AM. WPF Label class represents a Label control in C#. The <Label> element in XAML represents a Label control at design-time. The code examples in this article demonstrate how to use Label in WPF and
  • Display Image In WPF using XAML and C#12/5/2018 8:36:47 AM. The Image class represents the WPF Image control that is used to display images in WPF. The <Image> element of XAML is used to create the Image control at design-time. The code example in this a
  • Future of WPF12/4/2018 8:12:03 AM. What is the future of WPF? Watch the following video in which two Visual Studio program managers at Microsoft, Unni and Hari, talk about the future of WPF, XAML, Blend and much more.
  • Using WPF GroupBox in C# and XAML12/3/2018 1:02:29 PM. A GroupBox control is a container that adds a header and a border to the area that can be used to place other controls. The <GroupBox> XAML element and the GroupBox class in C# represents a grou
  • Working With WPF Grid Panel12/2/2018 10:27:22 PM. 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 Pa
  • WPF DatePicker Using C#12/2/2018 10:19:54 PM. 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 XAM
  • Grid Layout in WPF12/2/2018 11:33:31 AM. WPF Grid panel enables you to arrange children elements in cells defined by rows and columns. In the code example of this article, we will learn Grid layout and its properties in WPF using C# and XAML
  • Working with WPF Frame using C# and XAML11/30/2018 11:54:35 PM. The Frame class in C# and the <Frame> element in XAML represent a Frame windows control at run-time and design-time respectively. The code examples in this article demonstrate how to use a Frame
  • Working with WPF Expander Control using C# and XAML11/30/2018 11:46:28 PM. The Expander class in C# represents a WPF Expander control. At design-time, the <Expander> element of XAML is used to create an Expander control. The code examples in this tutorial demonstrate h
  • Explain Combo Box Binding In MVVM - WPF11/30/2018 12:34:48 AM. In this article, you will learn how to explain combo box binding in MVVM - WPF. INotifyPropertyChanged, ICommand interface
  • Working with WPF Calendar11/29/2018 10:02:52 AM. 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 desig
  • WPF CheckBox11/29/2018 9:30:09 AM. 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
  • Button Control In WPF11/29/2018 6:24:33 AM. 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 cli
  • XAML Button11/29/2018 5:53:27 AM. The Button class represents a button control of WPF in C#. Button control is created using the <Button> element in XAML at design-time. The code examples in this Button tutorials show how to cre
  • WPF Border Tutorial11/28/2018 10:41:22 PM. 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#.
  • XAML Border11/28/2018 10:33:48 PM. The XAML <Border> element represents a border in Windows app. Code example in this tutorial shows how to apply a border to WPF controls using XAML and C#.
  • XAML Slider Code Sample11/26/2018 10:57:00 PM. XAML Slider element represents the slider control in XAML and WPF. The code example in this article uses <Slider> to implement a slider in WPF.
  • WPF Slider Control11/26/2018 9:42:18 PM. 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#.
  • Transferring data from one ListBox to another in WPF11/15/2018 10:44:39 PM. This article discusses how we can transfer items from one ListBox to another in WPF.
  • WPF TextBlock11/14/2018 10:26:12 AM. 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 and
  • Using XAML TextBlock11/14/2018 10:15:38 AM. XAML TextBlock element represents a TextBlock control. These code examples demo how to declare and use a XAML Text Block.
  • Overview Of Styles In WPF11/13/2018 9:20:40 AM. 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 individua
  • XAML ToolTip Reference11/11/2018 7:40:07 PM. XAML ToolTip element represent a ToolTip of control that can be set using the ToolTip property of a WPF control. Here are some code examples of how to show tool tips of controls in WPF.
  • XAML TreeView11/10/2018 10:45:55 AM. XAML <TreeView> element represents a TreeView control in WPF. Here are a few XAML TreeView code examples.
  • XAML ListBox11/9/2018 11:35:03 AM. This is a reference tutorial of XAML ListBox element with code examples written in XAML and C#.
  • WPF Toolbar Tutorial11/8/2018 9:00:20 PM. 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 co
  • GridView In WPF11/8/2018 4:10:19 PM. 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 t
  • XAML WrapPanel11/8/2018 11:05:51 AM. The WrapPanel element in XAML represents a Wrap Panel. This tutorial shows how to use a XAML WrapPanel in WPF and C#.
  • Working with WPF Viewbox Control11/6/2018 11:30:40 AM. In this article, we will show how to use a ViewBox control available in WPF and XAML. Code sample shows use of Viewbox in XAML and C#.
  • Learn Navigation in XAML11/5/2018 6:09:22 AM. This article shows how to navigate to the next page with data.
  • Overview Of Composite Collection In WPF11/4/2018 11:42:02 AM. 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 c
  • Overview Of WPF Resources10/28/2018 11:59:29 PM. 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 applica
  • WPF DataGrid Style10/17/2018 4:14:55 AM. 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 buil
  • WPF Drawing Brush10/11/2018 4:01:38 AM. 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 Introduction10/10/2018 1:39:17 AM. This article, an introduction to the WPF DataGrid, is the first article of a series.
  • WPF Dependency Property10/9/2018 11:24:15 PM. 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.
  • Image Viewer In WPF10/5/2018 12:22:31 AM. ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.
  • Hyperlink In WPF10/4/2018 9:04:50 AM. The Hyperlink element is an inline-level content element that is used to add a hyperlink to a FlowDocument contents. You can add hyperlink support to any Inline element.
  • Rating Control In WPF Toolkit10/1/2018 1:42:53 PM. Rating Control was introduced in WPF Toolkit February 2010 release. In this article we will see how we can use the Rating Control.
  • Media Element In WPF10/1/2018 9:51:33 AM. 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.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download