Click here to Skip to main content
15,888,579 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 

19 Jul 2010 by Abhijit Jana
A demo of how to integrate a Silverlight Application with SharePoint 2010
11 Oct 2010 by Abhijit Jana
SharePoint 2010 supports fully integration with Silverlight application either of Silverlight In Browser  or as a Silverlight OOB ( Out Of Browser) aplications.
30 Jun 2010 by Abhishek Sur
The article will demonstrate how you could handle Unhandled Exceptions from both UI and NonUI threads for your WPF application.
19 Aug 2010 by Abhishek Sur
The article shows how you could use RenderTargetBitmap to render a visual into BitmapSource and convert the same into actual image.
12 Jan 2018 by Abhishek Sur
Working with ICollectionViewSource in WPF
7 Sep 2010 by Abhishek Sur
Taskbar with Window Maximized and WindowState to None in WPF
16 Mar 2011 by Abhishek Sur
RegisterName for StoryBoards in WPF (NameScopes)
12 Mar 2011 by Abhishek Sur
Deal with Performance in WPF applications
18 Oct 2014 by adityaswami89
A generic way of adding a table to Powerpoint using OpenXML
19 Oct 2014 by adityaswami89
This article will guide you if you want to create your own custom ORM or a wrapper over the ORM. This is only for demo towards the Unit of work pattern with Repository and a singleton Session class.
9 Dec 2014 by adityaswami89
Article on Validation in XAML applications with Fluent technique
22 Sep 2011 by Adnan Boz
Massively Parallel Random Nunber Generation using CUDA C, Thrust and C#
10 Nov 2011 by Adrian Alexander
The included ClosableTabItem derives from TabItem and provides the functionality you need to easily add close buttons to your program's tabs.
12 Mar 2017 by Afzaal Ahmad Zeeshan
This is a small post, containing a few suggestions for users of Microsoft Cognitive Services.
20 Aug 2012 by Andrei Ion Rînea
WPF Default Binding Format Culture
13 Apr 2010 by Arik Poznanski
Back in this post I showed you how you can easily add a fade-in / fade-out effect to a UIElement that changes its Visibility property, using a simple attached property.Some people encountered a problem using this property when they bind the UIElement to a model which initially hides the control.
28 May 2010 by Arik Poznanski
How to enforce that your WPF application has only one instance
15 Sep 2010 by Arik Poznanski
In this post, we’ll see a few interesting things about WPF’s Dispatcher class.
23 Nov 2010 by Arik Poznanski
Implementing a "stringof" operator using expression trees
27 Dec 2010 by Arik Poznanski
Order in Chaos: Dependency Property Value Resolution
31 May 2011 by Arik Poznanski
A Customizable WPF MessageBox
19 May 2011 by Aron Weiler
Like the title says... a simple (very simple) page transition control for WPF
19 May 2011 by Aron Weiler
How to create a WPF frame inside of a window with AllowsTransparency set to true
20 May 2011 by Aron Weiler
Make any image in WPF pop up and hit you in the face!
17 Mar 2010 by Arun Jacob
This article shows how to implement INotifyPropertyChanged.
27 Dec 2010 by Ashish Kaila
How to build a docking window management solution in WPF
28 Dec 2010 by Ashish Kaila
How to create custom Windows in WPF with ease
31 Oct 2011 by Ashish Kaila
WPF Control Development Unleashed - my favorite WPF book of all times
31 Oct 2011 by Ashish Kaila
Introducing MixModes Synergy 2010
31 Oct 2011 by Ashish Kaila
In this tutorial, I will take a practical example of a card game and illustrate how to model a playing card in WPF and define templates for defining visual aspect of the card as per the sign and the value of the card.
31 Oct 2011 by Ashish Kaila
Localization in WPF applications
31 Oct 2011 by Ashish Kaila
Some useful WPF tips.
23 Jan 2012 by Ayobami Adewole
How to create shaped or irregular window in WPF
16 Oct 2012 by Barry Lapthorn
How to create an MVVM application using MVVM Light with multiple views in one window
17 May 2009 by Colin Eberhardt
This technical blog post details a novel technique for leveraging the power of CSS selectors within WPF.
2 Jun 2009 by Colin Eberhardt
A simple lesson regarding the speed of dependency properties ... and a funky Oscilloscope!
18 Jun 2010 by Colin Eberhardt
This blog post looks at the problem of showing modal dialog windows in applications that target both the Silverlight and WPF platforms. A solution is provided which allows modal dialogs to be written that work well for both technologies.
9 Jul 2010 by Colin Eberhardt
A simple IValueConverter implementation that makes use of the framework type converters in order to convert between a large range of source / target types
24 May 2011 by Colin Eberhardt
How to automatically show ToolTips on a trimmed TextBlock (Silverlight + WPF)
7 Feb 2012 by Colin Eberhardt
This blog post provides step-by-step instructions for creating a user control, which exposes bindable properties, in WPF and Silverlight. The post covers dependency properties, and how to manage DataContext inheritance.
26 Apr 2012 by Colin Eberhardt
Databinding is a fundamental part of the WPF, Silverlight, and the Silverlight for Windows Phone 7 frameworks. It is a powerful concept that once mastered allows you to write concise and elegant code.
29 Dec 2013 by comiscience
Sometimes we need to have an independent View-ViewModel part which divides a part of the work to an independent module. Why do we do this?
11 Apr 2014 by comiscience
My original article link is here: http://www.codeproject.com/Tips/752333/Improve-WPF-performance-with-RenderOptions Introduction Too many articles have been presented on how to improve WPF performance with several global methods.
7 Nov 2009 by Daniel Vaughan
Prompted by a recent comment on the T4 Metadata Generation template article, which I released some weeks ago, I have implemented a new mechanism for concatenating property paths. This allows compile time validation of properties that exist on composite or nested members.
17 Jul 2012 by Daniel Vaughan
Implementing field level change notification in WPF, and how a Lambda Expression can be used to specify a composite property that raises change notifications automatically whenever an associated property changes.
1 Aug 2010 by Daniel Vaughan
How to enforce single instance WPF applications
7 Apr 2009 by Derek Lakin
Changing the Caret Colour in WPF
14 Apr 2010 by Derek Lakin
Creating a Custom View Mode that Supports a Template Selector
6 Apr 2009 by Derek Lakin
I'll show you how to implement a custom Style by implementing a custom message box.
20 Oct 2011 by Derek Lakin
Implementing Application.DoEvents in WPF.
13 Jan 2018 by DevLake
WPF Master Details MVVM Application
13 Mar 2015 by DotNetForAll
How to develop resolution independent applications in WPF
29 Sep 2015 by DotNetForAll
The article will take you through the layout process in WPF.
11 Nov 2020 by DotNetLead.com
Drag and drop behaviour in WPF
2 Apr 2016 by EngineerSpock
Global exceptions handling in WPF
10 Jan 2011 by erik_nl
Logging with dynamic objects in .NET 4.0 (part 2-n) - user interaction logging
8 Feb 2011 by erik_nl
Building a control template/style for the tabControl to clone the office 2010 ribbon File look
22 Nov 2011 by Felice Pollano
Using AvalonDock and Caliburn Micro Screen Conductor together
30 Nov 2011 by Gilly Barr
How to compile multiple projects into a single EXE file in WPF
11 Jun 2012 by gnikolaropoulos
How to build a sample window (no resizing) with WPF which will look like Metro.
29 Jan 2017 by HeWillem
How to solve the TabControl focus behavior with invisible tabs
5 Apr 2013 by Irina Pykhova
How to parse JSON to C# in WinRT, Silverlight, WPF, Windows Phone.
12 May 2010 by Ivan Krivyakov
WPF: Context Menu on List Item
25 Oct 2010 by Ivan Krivyakov
Some anti-patterns I am experiencing first hand
16 Dec 2010 by Ivan Krivyakov
WPF: Passing Data to Sub-Views via DataContext Causes Trouble
27 Dec 2010 by Ivan Krivyakov
If your custom WPF control just would not show up
28 Dec 2010 by Ivan Krivyakov
WPF Grid: Showing Tooltip over Empty Space
18 Apr 2011 by Ivan Krivyakov
WPF Bindings
27 Jul 2011 by Ivan Krivyakov
BackgroundWorker and UI threads
3 Sep 2012 by Ivan Krivyakov
This simple trick stops the binding gremlins on their tracks, as only a dependency property can be their target.
10 Sep 2012 by Ivan Krivyakov
Preventing zombie animations from freezing your properties
29 Nov 2012 by Ivan Krivyakov
In GAC we trust
25 Nov 2014 by Ivan Krivyakov
New instance of a merged dictionary will be created for every user control. This can (and does) lead to increased loading time and memory footprint.
14 Nov 2012 by Ivan Leonenko
Local image caching with custom control in WPF
27 Apr 2010 by jmix90
A post about creating a PNG from an XAML file
21 Feb 2010 by jmix90
How to use AttachedProperties to add behaviors to the components (Ramora pattern)
25 Feb 2010 by jmix90
When you create WPF applications, you may (or you should !) use the M-V-VM pattern and so have to use/create ViewModel.The viewModel job is mainly to expose properties of your businessObjects to your views, ready for binding. Here is a first solution to create ViewModel from your model.
1 Mar 2010 by jmix90
When you want to make an object binding-aware you have two choices : implements INotifyPropertyChanged or creates DependencyProperties.
5 Oct 2010 by jmix90
How to integrate the Office Ribbon respecting the pattern (especially the commands)
7 Mar 2010 by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
12 Mar 2010 by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
8 Apr 2010 by jmix90
A lot of controls expose properties which are not DependencyProperties and then you can’t put a binding on it. On some other cases, you only have a getter as accessor and you can’t put a binding on it too...
9 Apr 2010 by jmix90
Simple properties Mapper by reflection: Stop copying manually each property of your objects !
22 Sep 2010 by jmix90
A fast and easy tip about shadows and performance
14 Jun 2010 by jmix90
A problem you often meet when using MVVM is to get the selected items of an items control, especially Listbox
27 Aug 2010 by jmix90
Execute a command on a specified control when clicking on a button
20 Sep 2010 by jmix90
In this post, we'll discover how to access the template children by using the FindName method even on UserControl.
21 Sep 2010 by jmix90
The expander control can be used in a lot of situations but the one proposed by default is quite "rigid".
4 Oct 2010 by jmix90
Reusability and factorizing are maybe the most commons things you want and use when you are developing applications. In WPF it often means creating controls library (i don’t mean UserControl) that will be easy to use in multiple applications.
25 Mar 2011 by jmix90
In this post, we will see how to make a custom control fully useable in a Coded UI Tests scenario.
2 Oct 2012 by Joel Ivory Johnson
Setting the Display for a WPF Application
15 Oct 2012 by John Michael Hauck
In this post, I briefly discuss the design behind the VisibilityControl.
3 Oct 2018 by Junian Triajianto
How to perform Face Detection using your camera / Webcam
30 Jan 2012 by kishore Gaddam
The Binding object needs to get its data from somewhere, and there are a few ways to specify the source of the data like using Source property directly in the Binding, inheriting a DataContext from the nearest element...
20 May 2011 by Koder Hack
The ContentTicker control is a generic control that can be used to slide content.
7 Feb 2012 by kribo
How to use System.Windows.Forms.ColorDialog in a WPF project
16 Sep 2011 by kribo
WPF dynamic TabControl - TabItems
16 Sep 2011 by kribo
Ribbon (WPF): ribbon:RibbonComboBox
24 Aug 2009 by Kunal Chowdhury «IN»
Add "Select All" behaviour for all TextBoxes in your WPF application
26 Aug 2009 by Kunal Chowdhury «IN»
In this post, I will discuss about developing a simple multitouch application using .NET 3.5 SP1.