WpfDial 1.0.0

dotnet add package WpfDial --version 1.0.0
                    
NuGet\Install-Package WpfDial -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WpfDial" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WpfDial" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="WpfDial" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WpfDial --version 1.0.0
                    
#r "nuget: WpfDial, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WpfDial@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WpfDial&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=WpfDial&version=1.0.0
                    
Install as a Cake Tool

WPFDialControl

WPF Dial widget for wpf applications Works with NET 8.0 and above Three modes: Modern, Flat and Vintage Set custom colors for ticks, dial and pointer. Responds to mouseup, mousedown, mousewheel and mouseclick events.

Sep 20, 2025

Implemented Mousedown handler.

Sep 18, 2025

Customize colors of the ticks, dial and pointer

<img width="886" height="335" alt="Screenshot 2025-09-18 184514" src="https://github.com/user-attachments/assets/fc460237-53ab-4166-8795-9c5adca8d3f5" />

June 7, 2025

Improved the Flat Look :

DialControl

WPFDialControl Demo

How To Use It In Your Project

In the repo, there is a sample project called DialControl which shows how to use the WPFDial control. The basic steps are as follows:

1.Add a reference to the WpfDial project
2.In your window xaml, use xmlns:app="clr-namespace:WpfDial;assembly=WpfDial" to refer to the project
3.Use the <app:UserControl1 tag to insert the dial(s).

The following design-time attributes are available:

Required Attributes:

 Mode - MODERN/FLAT/VINTAGE - set the look of the dial  
 Angle - ANGLE_15/ANGLE_40/ANGLE_45/ANGLE_60/ANGLE_90 - set the number of ticks for the dial. Eg.ANGLE_90 will show 4 ticks spaced at 90 degrees  

Optional Attributes:

 By default all ticks and dial colors are gray or black. You can override the default colors with the attributes below:  
 FillStartColor - Color - start gradient color of dial color   
 FillStopColor - Color - stop gradient color of dial color - if stop and start are the same color then you get a solid color fill  
 TickColor - Color - color of the ticks around the dial  
 PointerColor - Color - color of the pointer marker  

Events:

dialClick - called when there is a mouse event (left or right click, mousewheel and mouse drag) on the dial. This event sends a DialClickRoutedEventArgs object. This object returns a .SelectedPos property which 
            denotes the current marker position of the dial. Marker positions start from zero. So if there are 4 ticks then the marker positions will be 0 to 3.  
            

An overview explanation video is here: https://www.youtube.com/watch?v=VQsPnhnT8ac

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 119 3/6/2026

First Release