Click here to Skip to main content
15,885,546 members
Everything / Desktop Programming / WPF

WPF

WPF

Great Reads

by Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
by Daniel Vaughan
Calcium provides much of what one needs to rapidly build a multifaceted and sophisticated modular application. Includes a host of modules and services, and an infrastructure that is ready to use in your next application.
by Fredrik Bornander
WPF Implementation of the spinning panel frequently used on the iPhone
by Sacha Barber
It would probably be like Cinch, an MVVM framework for WPF.

Latest Articles

by Macabies Gilles
An easy-to-use filterable, multilingual custom DataGrid control for managing and filtering data for your WPF applications
by gabriel4sonic
Shows how to use OpenGL in a .NET WPF application by directly incorporating an OpenGL window as a child of the main WPF window, making it behave more like a control
by Jo_vb.net
Part 2 of my article about 'Schafkopf' introduces Automated Bidding
by Peter Sun (247)
Implement ChatGPT API in C# WPF with GPT3.5-turbo

All Articles

Sort by Title

WPF 

24 Jan 2016 by Daniel Brousser
Custom TextBox control for UI input validation
19 Jul 2015 by Revanth Ramesh
Futuristic Talking 7-Segment Time Display Widget in WPF
12 Apr 2017 by Dave “DWC” Curry
How to wire up drag+drop events through multiple objects.
16 Apr 2013 by Louis_Liu
WPF application to capture screen.
7 Dec 2018 by Dirk Bahle
Making better use of the available UI space.
16 Nov 2020 by Erik Nagel
Usable demo demonstrating some aspects of application architecture
3 May 2014 by Bruce Greene
A bare-bones Find and Replace tool for AvalonEdit
11 Oct 2013 by wim4you
We wanted a first impression of a clockwork using simple gear for visual evaluation. A provisory prototype is made.
24 Dec 2013 by Senthilvel Samatharman
This tip provides a simple implementation for the ICommand interface and enables to write quick code leaving the nuances of fetching the return types and asynchrony
11 Nov 2017 by Herbert Lausmann
An IconBitmapEncoder that produces high-quality icons, written in VB.NET and C#, WPF
4 Feb 2012 by Erol Esen
This is a very simple example of data binding between two controls in WPF.
11 Oct 2017 by Clifford Nelson
This tip presents a way to display checkboxes for selection of ListBox Items instead of the default highlighting
14 Sep 2014 by Mario Vernari
Here is a simple trick for simulating the shared-sizing feature of the WPF Grid even in a StackPanel fashion.
9 Mar 2011 by Mahmudul Haque Azad
Accessing image from Resource File in XAML markup
20 Dec 2013 by Subodh Raikar
Accessing SSRS Reports from SharePoint Site using C#
6 Jan 2015 by MarkLTX
Allow users to "magnify" your WPF application!
21 Dec 2017 by Peter Sun (247)
Demonstrate how to create WPF TrewView with multiple levels of HierarchicalDataTemplate from C# code-behind without XAML using MVVM for data binding
28 Feb 2022 by Saurabh Singh _
A simple approach to handle Airspace problem
20 Nov 2011 by Wayne Gaylard
All purpose Boolean to Visibility Converter
18 Nov 2011 by rhuiden
I would first like to say that I have been through the same situation, but never took the time to develop a more dynamic converter. I like your idea, but don't like the implementation. If I know what I want to happen (when the value is true then make the control hidden), I have to do some mental...
3 Mar 2014 by Joezer BH
Avoiding a cumbersome message box or input box that locks the application in WPF.
24 Sep 2015 by brain2cpu
The way x:Bind is (not) working in universal Windows applications
11 Nov 2015 by Yuriy Magurdumov
Simple generic data structure to maintain hierarchical objects
21 Nov 2014 by Farzan Hajian
Analyzing HTML documents using NSoup and ExCSS libraries
19 May 2015 by Bhanu Pratap Singh Rathore
Animate Controls with ease using the MAnimation class developed by myself and can be used by anyone.
13 Jun 2012 by billxie
Advanced technique to apply animation concurrently on multiple controls.
23 Sep 2015 by Ponkarthikeyan Thangavel
This tip describes about applying reusable read-only styles for WPF controls at Application/User Control level
12 Nov 2013 by John Pravin
Asynchronous Programming with Task Parallel Library.
7 Apr 2015 by Amir Dashti
A simple but powerful class to simplify executing T-SQL commands asynchronously
4 Jun 2014 by arpanmukherjee1
RelayCommand.CanExecute in MVVM with attributes not WPF Requery
7 Aug 2020 by Jeff East
Implements automatic column width sizing based on item contents for ListViews using GridView
27 Jan 2015 by SREENATH GANGA
Auto updating the exe if the latest exe is available in the network share
11 Feb 2015 by Emiliano El Mariachi
Here is a small library to help you have an automatic undo/redo feature without explicit dependency on Undo/Redo system.
14 Mar 2013 by Chandramouleswaran
Quick hack for spell check with AvalonEdit.
22 Apr 2015 by Amin Esmaeily
In this tip, I will explain how to create a simple user control (AverageMeter) using WPF.
2 Mar 2017 by Nomesh G
Setting up basic MVVM in WPF and ICommand usage to allow operations on ViewModel from view.
11 Jun 2012 by syncsivakumar
Behaviors and Triggers explained with samples.
28 Dec 2013 by comiscience
Behaviors complete MVVM
27 Apr 2016 by Clifford Nelson
This article presents a way to display a message in a single control with several sources in a priority order
11 Aug 2014 by Volodymyr Trubachov
Describes the approach to bind a group of radio buttons to a single property, regardless of the property type (enum, bool, int, string).
18 Sep 2010 by Kubajzz
How to turn a static property of any type into a StaticResource
7 Jul 2013 by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
29 Jun 2015 by jindrich.babica
Binding with respect to CurrentCulture
2 Aug 2017 by Clifford Nelson
Fairly straight forward way of binding in a HierarchicalDataTemplate or DataTemplate to the parent ViewModel when using the TreeView control.
3 Apr 2014 by RumataEstorish
Simple code for applying and disabling blur effect on any UIElement
15 Nov 2013 by Francisco T. Chavez
Bool to content converter
18 Jan 2014 by Thrivikram Hathwar
How to broadcast data using .NET TPL dataflow
18 Jun 2022 by Peter Sun (247)
Create a C# WPF app to read Twitter tweets and retweets via REST API with grouping related users / friends by categories. As a bonus, tweets can be saved in Azure / Cloud, and viewed in an Azure website.
14 Feb 2015 by Dan Maroff
A custom ListView class that uses reflection to sort columns based on the DisplayMemberBinding's bound data type
26 Nov 2014 by Aaginor
Add a Cancel-Button to the BusyIndicator (WPF Toolkit)
6 Nov 2013 by Jagadeeswaran Natarajan
WPF passwordbox usercontrol
9 Oct 2013 by _Noctis_
Quick tip for forms/windows/views where save/insert/cancel buttons are used
15 Aug 2015 by Rakesh Vemula
A Windows application which processes your code and shows how much time it takes to execute your code.
7 Apr 2015 by Amir Dashti
A simple but powerful class to simplify packet based networking and client/server programming asynchronously
5 Jul 2018 by Peter Sun (247)
Master-detail view navigation using manageable data-driven and code-behind techniques
28 Jan 2015 by Yannick Turbang
HTML WPF editor WYSIWYG (what you see is what you get).
19 Feb 2010 by Daniel Vaughan
When using the Calcium SDK[^]to replace the shell implementation entirely with your own implementation, use:void Application_Startup(object sender, StartupEventArgs e){ var container = new UnityContainer(); ServiceLocatorSingleton.Instance.InitializeServiceLocator(container); ...
15 Oct 2012 by Houssem Dellai
Developing a Windows Phone app step by step
13 Jun 2013 by Sagar Sumant
Caller Info attributes in C# 5.0 and their usage
30 Jul 2012 by Kashif_Imran
A simple Caret for WPF User Controls
6 Jul 2018 by Daniel Ziegelmiller
How to track changes in the ObservableCollection displayed in a WPF DataGrid
21 Nov 2014 by ferragus
Change WPF DataGrid Styles in code behind
16 Feb 2024 by Peter Sun (247)
Implement ChatGPT API in C# WPF with GPT3.5-turbo
29 May 2012 by Amit Sanandiya From Morbi
Display Selected Column Dynamically Using checkBoxList in Wpf With C#
30 May 2013 by Mitesh k Prajapati
This is a WPf circular indeterminate progressbar and you can use this in your application for loading processes which are in an indeterminate state.
27 Feb 2013 by Fun@learn
Lightweight approach to close view from viewmodel command.
6 Dec 2013 by dietmar paul schoder
RibbonComboBox in MVVM/WPF: the easiest way
15 Aug 2020 by Clifford Nelson
A media player application specifically designed to support listening to language learning tracks
29 Jun 2016 by Simon Bridge
Save wear and tear on your keyboard: INotifyPropertyChanged with the fewest key-strokes.
5 Aug 2014 by Anis Derbel
The easy way to connect to Mysql using Wamp server on WPF
17 Nov 2014 by #realJSOP
How to fix this ANNOYING problem
5 Aug 2014 by Anis Derbel
This tip resume the majority types of conversion that we need while developing
7 Feb 2011 by Fredrik Bornander
This tip corrects my horrible attempt of a Spider Control
2 Mar 2014 by Ruzli999
How to create Animation using separated Images
7 Aug 2014 by Gold$Coin
This tip will help you to create a collection from a DataSet
11 Feb 2015 by Mohit Johri
This tip will help you to display data using XamDataPresenter (or any DataGrid) which will have multi-header column.
11 Jun 2015 by Lance Contreras
Create an easily resusable IconBlock (TextBlock that display's an icon)
25 Jun 2018 by Clifford Nelson
A way to create a custom derived control with the XAML file attached like a UserControl
26 Apr 2020 by Omnia Hussain
A walk-through for creating a custom WPF button that contains both icon and text
19 Feb 2013 by AesopTurtle
Mimic a loading animation as seen in Windows 8 using pure XAML.
1 Nov 2021 by Ilija Poznić
Adding class selector to WPF
2 Mar 2016 by Shailendra Singh Deol
Customize default style of calendar in WPF
2 Mar 2016 by Shailendra Singh Deol
Customize datepicker style in WPF
7 Feb 2017 by shahidul.haq
A WPF custom control for grouping data similar to build-in expander
29 Apr 2011 by Renat Khabibulin
Custom ShowDialog() method for WPF
13 Jul 2012 by Opata Chibueze
This tip demonstrates how to wrap text in WPF - similar to using &shy or
19 Jun 2017 by David Fine
Using Attached DependencyProperty to prevent closing of Popup embedded in ToggleButton
23 May 2015 by RickZeeland
Creating a custom ListBox by overriding the PrepareContainerForItemOverride() method of the ListBox with a custom routine.
28 Dec 2010 by John_Smith78
TextBox Style which resembles the Twitter's text field.
4 Feb 2012 by Jawahar Suresh Babu
The article describes how to customize default System Menu in WPF
10 Apr 2012 by Deepak_Sharma_
In this article I will explain how to display data from a SQL Server database table in a WPF DataGrid control
3 Mar 2016 by Henka.Programmer
WPF Control allows to create complex data table with cell merging, columns merging, complex columns and rows merging
5 Feb 2014 by DonWim
how to implement data validation via regular expressions in a WPF application
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
21 Feb 2012 by databaseobjectmodel
9 Sep 2013 by The Myth
Databinding examples in WPF for VB.NET.
7 Jan 2011 by Venkatesh Mookkan
Debugging XAML DataBinding
23 Jun 2013 by Aaron Amberman
Defer algorithms to run once within a given time span