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.

In my previous article, we have learned that how to bind combobox directly with enum.

Very often, while developing WPF application, we actually feel the need of reusable/redistributable controls. WPF custom controls are shipped in DLL format such that they can be consumed in various applications. Please note, there is a significant difference between custom control and user control. They are different things.

Here we are going to see the way to reuse the dependency property created for binding in wpf button. It is not always necessary to create multiple dependency property with different return type. Below steps shows how to reuse the same dependency property for string as well as ImageSource type and this can be applied wherever similar scenario is applicable.

WPF [4] is a Microsoft technology for building window forms applications that allow using the MVVM (Model –View-View Model) framework. Dependency properties are at the core of MVVM framework.

Triggers are a medium by which we can trigger a behavior of the targeted control when it fulfills the specified conditions.

Converters are basically a medium to convert values in one form to another form. Converters usually implement IValueConverter interface, which contain two methods, Convert() and ConvertBack().

Today, in this article I will explain how to add buttons in application toolbar preview window, as you may have seen in Windows Media Player as shown below.

Doing a search for ICustomTypeProvider, you can find plenty of examples on how to use this handy interface to perform dynamic data binding between your business objects and WPF. However, almost all these examples assume you’re ready, willing and able to “adjust” your classes to either implement ICustomTypeProvider or use a base class that does. In this article, I’ll show the benefits of the interface, how you might use it out-of-the-box, and I’ll give an example of how you can take advantage of this interface without changing any code in your business objects.

In this article, you will learn about the use of CallerMemberName With INotifyPropertyChanged Interface in WPF MVVM.

A typical rich data-driven Windows client app includes a backend database and a front-end client UI. The app connects to a database, reads the database, displays records in data controls, and implements CRUD operations. The app may also include some advanced UI operations such as sorting, searching, filtering, multiple views, and data export.

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 tasks we can use different kinds of loading bar options like.

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, etc. These, I believe, will guide the beginners into the lovely land of WPF.

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

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 properties if you need to create and apply properties on custom usercontrols, or change properties based on external inputs like Theme, Style, animation etc, or while applying data binding or set with a resource (static/dynamic) .

Learn how to use Unity Container for dependency injection in a DevExpress MVVM WPF application, wiring views, view models, and services.

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

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, but saving/submitting data should be disabled until validations completion.

In continuation of my previous article “ABCs of WPF”, I am going to discuss the architecture of WPF.

Basically I am working on .Net/Sql. For the project requirements I went through the WPF. I visited so many online tutorials and videos to get the knowledge. In this article I am going to share my understanding with you.

MVVM is an architecture pattern which facilitates separation of projects into three logical layers with their own responsibilities. It facilitates modern techniques such as Separation of Concern, Unit testing and TDD. It is set of guidelines, that, when used, makes it easier to develop applications.

This article explains basics of styles in WPF. WPF styles works just like CSS style, In the CSS we define styles for a control and we reuse the same where ever we need in the application, same way the styles in WPF allows to define the properties and can be reuse in the application.

In the current times, all operating systems and browsers have a notification engine. This is a very practical characteristic and that enables us to have apps 100% connected and 100% live. With notifications, we can have information about: our other apps, our environments, our users, our fails, etc., when they occur.

Learn how to create and use WPF IValueConverter implementations to transform values and data types in one-way and two-way bindings.

Auto ViewModelLocator in MVVM pattern.

In this article, you will learn about dialogs in WPF (MVVM).

In this article, you will learn WPF CRUD Operations using VB.NET.

In this article, you will learn about dialogs in WPF (MVVM).

This article acquaints you with MongoDB CRUD operation In WPF C# with GridView.

This article presents information about Data binding, which is a mechanism in WPF Applications, which provides a simple and easy way for Windows Runtime apps to display and interact with the data.
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