Click here to Skip to main content
15,885,309 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 Updated

WPF 

22 May 2010 by #realJSOP
Programatically set grid row/column sizes (yes, even "Auto", "*", and "X*" - thanks Nish).
22 May 2010 by #realJSOP
In WPF/Silverlight, you might want to bind to a dictionary. Here's a couple of websites I found.
15 Jun 2012 by #realJSOP
One way to get around the "invalid character" error
9 Nov 2012 by #realJSOP
Stuck on a really weird problem in WPF? Move your behind and write some code (behind).
17 Nov 2014 by #realJSOP
How to fix this ANNOYING problem
31 Jul 2019 by #realJSOP
Make data exchange in MVVM easy on yourself
27 Feb 2021 by #realJSOP
How to close modeless windows if you don't close them before the main window closes
29 May 2010 by #realJSOP
One technique for having a column width that grows/shrinks with ListView width
30 Jun 2015 by 1sumitanand
This tip is for newbie developers.
1 Jul 2015 by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
26 Sep 2013 by _Noctis_
This tip shows the different results of using a ListBox in different panels, and the effects on scrolling.
4 Oct 2013 by _Noctis_
Showing how to use and tweak the DateTimePicker control
9 Oct 2013 by _Noctis_
Quick tip for forms/windows/views where save/insert/cancel buttons are used
12 Apr 2014 by _Noctis_
How to use Sublime text editor to help with your VS development
26 Nov 2014 by Aaginor
Add a Cancel-Button to the BusyIndicator (WPF Toolkit)
23 Jun 2013 by Aaron Amberman
Defer algorithms to run once within a given time span
16 Mar 2011 by Abhishek Sur
When animation is not totally complete, default animation behavior might produce jurky animation. Here is a demo how you could make it smoother.
20 Mar 2011 by Abhishek Sur
WPF inputbindings to bind your key and mouse events directly with your ViewModels
4 Apr 2012 by Adrian Calinciuc
How to make/use a simple RadioList displaying an "n" state value with checkboxes.
19 Feb 2013 by AesopTurtle
Mimic a loading animation as seen in Windows 8 using pure XAML.
9 Jun 2015 by Afzaal Ahmad Zeeshan
This tip is for WPF developers, understanding the usage of lambda expressions for handling the events instead of markup based or function based event handlers.
19 Jul 2015 by Ajcek84
Overview of music notation library
3 Jan 2015 by Ajit_Pudale
Tip to add EmptyDataTemplate in WPF or Silverlight DataGrid
28 Nov 2011 by Akos Orban
Set Owner of a WPF Window to a Form
27 Dec 2017 by Alberto M.
How to control TP-Link Smart Plug (HS100 or HS110) with C#
6 Jul 2017 by Alexander Sharykin
No more Template copies
28 Jul 2014 by alexbk66
Reusable WPF RadioButton control which takes the pain away
14 Apr 2014 by Alojzy Leszcz
I've had enough reading WPF tutorials and wanted to test learned skills in a real-life application. As I've always had problems with memorizing LoL items, I thought I could do something about this and kill two birds with a one stone.
8 Jul 2011 by Amey1202
In WPF, just set the ToolPanelView property of CrystalReportViewer to None. That is enough.
27 Jul 2013 by Amin Esmaeily
This tip is about how to make our WPF controls moveable at runtime
27 May 2014 by Amin Esmaeily
Creating a bar chart with most of needed features.
22 Apr 2015 by Amin Esmaeily
In this tip, I will explain how to create a simple user control (AverageMeter) using WPF.
7 Apr 2015 by Amir Dashti
A simple but powerful class to simplify executing T-SQL commands asynchronously
7 Apr 2015 by Amir Dashti
A simple but powerful class to simplify packet based networking and client/server programming asynchronously
29 May 2012 by Amit Sanandiya From Morbi
Display Selected Column Dynamically Using checkBoxList in Wpf With C#
7 Jul 2013 by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
1 Sep 2012 by AmitGajjar
Application for seaching similar kinds of files in different folders.
25 May 2014 by Andrew Lai
WPF performance comparison in 3 ways of refreshing data
18 Jun 2010 by Andrew Rissing
Or even...if (frm.ShowDialog() == true){ // do something here}
12 Aug 2011 by Andrew Rissing
Using an attached behavior to expose the value of a DataContext for Automation
5 Aug 2014 by Anis Derbel
The easy way to connect to Mysql using Wamp server on WPF
5 Aug 2014 by Anis Derbel
This tip resume the majority types of conversion that we need while developing
5 Aug 2014 by Anis Derbel
We always wonder how we can store pictures in database
6 Aug 2014 by Anis Derbel
Get information of any website you want
7 Aug 2014 by Anis Derbel
The easy way to Reorder your DataGrid/ListBox with Drag and Drop
28 May 2011 by Anshul R
For the souls confused about WPF.
30 May 2011 by Anshul R
Controls will have the Aero Theme (WPF)
28 Feb 2011 by Anton Lesnichenko
Add AllowsTransparency="True" and there will not be a border.
4 Jun 2014 by arpanmukherjee1
RelayCommand.CanExecute in MVVM with attributes not WPF Requery
24 Sep 2014 by arpanmukherjee1
A base viewmodel implementing IDataErrorInfo
24 Dec 2010 by Ashish Kaila
Illustrates how to dynamically bind to value converters in XAML using normal Binding
6 Mar 2021 by Avirup Das
This tip describes an application to control with Sony TVs connected to your Home Wi-Fi network from PC.
13 Sep 2012 by azweepay
Create a GridViewColumnCollection with resizable and non-resizable columns
9 Dec 2014 by B. Clay Shannon
Simply, quickly, and freely make your apps available to the public
4 Dec 2013 by Balachandar Jeganathan
Custom attached property in WPF
28 Mar 2012 by Bernhard Hiller
Double and DateTime values bound to textboxes in correct format
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.
27 Dec 2017 by Bhanu Pratap Singh Rathore
This tip contains easy steps to extract XML data from URLs in VB.NET
2 Jul 2015 by Bharat Mallapur
Sample project to host MS-Chart in your WPF application
28 Jul 2014 by Bhardwaj Deepak
An advanced and fully featured WPF AutoComplete TextBox control
11 Sep 2012 by Bhavik Barot
This article is about the new features added in C# 5.0 called “Asynchrony” and how we can use them to write asynchronous code which looks like synchronous code.
13 Jun 2012 by billxie
Advanced technique to apply animation concurrently on multiple controls.
18 Feb 2019 by Bloody Chicken
This program is designed to upload an XML file and a zip file automatically created to your FTP server. It can be used for software update.
1 Mar 2021 by Bloody Chicken
Find controls by XY Positions to solve a problem issuing in Touch Events in WPF
14 Jul 2020 by Bloody Chicken
Load XAML, find control, and play Youtube video automatically
5 Oct 2011 by brad.ford@cudl.com
Be aware: expressions take a LOT of time to evaluate (relative to a constant string), and will make writing values to properties slow.I think that the solution is to a problem that has limited risk. What I mean is if you need to rename a property, then the call to the OnPropertyChange is...
24 Sep 2015 by brain2cpu
The way x:Bind is (not) working in universal Windows applications
3 May 2014 by Bruce Greene
A bare-bones Find and Replace tool for AvalonEdit
11 Apr 2015 by Bruce Greene
A helper class for tabs-style navigation in WPF, and an example of how to animate the Opacity property.
14 Nov 2016 by Bruce Greene
A WPF custom TextBox for editing numbers that features a context menu for math operations
3 Nov 2013 by carcabot
Multi Language Switcher Dynamically written in WPF VB.NET using XMLDataProvider
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
26 Jul 2010 by catbirch
if(frm.DialogR...
13 Jan 2011 by cechode
I ended up adding one for a Lazy Property: propLazy ...
10 Oct 2013 by Ced743
Imbricated ItemsControl (a list into another list) to make a table
14 Mar 2013 by Chandramouleswaran
Quick hack for spell check with AvalonEdit.
24 Aug 2019 by Charles Jenkins
In full-row selection mode, the WPF DataGrid wants to scroll horizontally when a user clicks on a cell which extends offscreen. This sample project shows one way to prevent it.
6 Dec 2012 by choudhary.sumit
A WPF sample, edit and make your own splash
17 Jun 2014 by cjb110
A String To Brush Converter for WPF/Silverlight
2 Jun 2012 by Clifford Nelson
A rather quick and dirty way of creating a filtered combo box in WPF.
6 Jun 2012 by Clifford Nelson
A little trick that will more completely fill the DatePicker background from the code-behind.
2 Jul 2012 by Clifford Nelson
Why didn’t Microsoft provide this in the ObservableCollection?
5 Sep 2012 by Clifford Nelson
The IValueConverter can be used to select a View.
9 Aug 2015 by Clifford Nelson
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
26 Aug 2015 by Clifford Nelson
If you are having issues with getting the WPF Focus() method working, then maybe all you need to do is add a delay on the Initialized event before setting the focus. This solution is a nice demonstration of the features of TPL, and how easy TPL can make doing asynchronous programming in the UI.
1 Oct 2015 by Clifford Nelson
Presents a behavior to prevent entry of anything but digits into a control
21 Nov 2015 by Clifford Nelson
Using a breakpoint in this WPF Value Converter which basically does nothing can be of assistance in binding when the object is not well understood.
10 Mar 2016 by Clifford Nelson
When binding to an Enumeration, the Required Attribute does not work if the enumeration does not have a zero value. This validator does work.
18 Mar 2016 by Clifford Nelson
There may be times when it would be nice to have a timer on a window. This is a behavior that when attached to a TextBlock, will display the time in minutes and seconds since the control was created.
24 Mar 2016 by Clifford Nelson
WPF popup enumerated button control
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
23 Jun 2016 by Clifford Nelson
This presents a simple converter that supports binding to an object, but display of a property in that class.
29 Jun 2016 by Clifford Nelson
This class based on the ObservableCollection supports updating instead of replacing
6 Aug 2016 by Clifford Nelson
This tip presents a way to have disabled items in your ComboBox
5 Oct 2016 by Clifford Nelson
Presents and implementation of a control that can be pressed to bring up a Menu.
5 Jan 2017 by Clifford Nelson
This is a simple popup that includes drag capability. The code should be helpful to anyone looking to create a control drag capability.
7 Feb 2017 by Clifford Nelson
This tip presents a control that is derived from the ItemsControl that uses a UniformGrid to display.