WpfDial 1.0.0
dotnet add package WpfDial --version 1.0.0
NuGet\Install-Package WpfDial -Version 1.0.0
<PackageReference Include="WpfDial" Version="1.0.0" />
<PackageVersion Include="WpfDial" Version="1.0.0" />
<PackageReference Include="WpfDial" />
paket add WpfDial --version 1.0.0
#r "nuget: WpfDial, 1.0.0"
#:package WpfDial@1.0.0
#addin nuget:?package=WpfDial&version=1.0.0
#tool nuget:?package=WpfDial&version=1.0.0
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 :
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.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