Dirkster.NumericUpDownLib 3.3.0

.NET Core 3.0 .NET Framework 4.0
dotnet add package Dirkster.NumericUpDownLib --version 3.3.0
NuGet\Install-Package Dirkster.NumericUpDownLib -Version 3.3.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="Dirkster.NumericUpDownLib" Version="3.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dirkster.NumericUpDownLib --version 3.3.0
#r "nuget: Dirkster.NumericUpDownLib, 3.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dirkster.NumericUpDownLib as a Cake Addin
#addin nuget:?package=Dirkster.NumericUpDownLib&version=3.3.0

// Install Dirkster.NumericUpDownLib as a Cake Tool
#tool nuget:?package=Dirkster.NumericUpDownLib&version=3.3.0

NumericUpDownLib

This library implements more than 10 different numeric up down WPF controls that can be used to edit values:

  • by dragging the mouse vertically/horizontally or
  • by clicking up/down arrow (repeat) buttons or
  • up/down or left right cursor keys or
  • spinning mousewheel up down on mouseover or
  • editing a textbox

Implements specific numeric up down control for data type:

  • byte (ByteUpDown control)
  • decimal (DecimalUpDown control)
  • double (DoubleUpDown control)
  • float (FloatUpDown control)
  • integer (IntegerUpDown control)
  • long (LongUpDown control)
  • sbyte (SbyteUpDown control)
  • short (ShortUpDown control)
  • ushort (UshortUpDown control)
  • uint (UintUpDown control)
  • ulong (UlongUpDown control)

Percentages can be edit at [0-100] while backend viewmodels handles [0-1] values, see FactorToDoubleConverter and PercentageUpDownDemo in demo clients at project site.

Controls are fully themeable. Project site contains demos for:

  • Dark/Light theme and
  • Generics theme test clients.

More Features:

  • Increments and Decrements can be configured to be 1 or any greater value than 1.
  • The width of the control can be configured to be fixed (textbox will scroll inside when text is too large)
  • Up/Down button is disabled when min or max limit is already reached
  • SelectAll on GotFocus of TextBox
  • Spin value up/down on mouseover + mousewheel spin

There is a demo application that shows the usage of the control (LIght/Black themes enabled) and documents the features, such as, the ability to configure a minimum and maximum value that can be used to keep the resulting value within a given bound.

Features Added in Version 3.0

  • Display and Edit of Hex values

  • Text portion editing can be:

    • Cancelled with Escape key or can be
    • Okay'ed with Enter Key
  • The Edit TextBox displays during editing a Red or Green indicator (in upper left corner) depending on whether current text is:

    • a valid number (GREEN) or
    • not valid number (RED)
  • Dependency Features Added:

    • IsLargeStepEnabled
    • FormatString
    • NumberStyle
  • Improved Style/Template

Thanx for contributing go to heartacker 🙏

Features Added in Version 3.1

  • Force trigger the ValueChanged event with Ctrl+Enter. Please use Control+Enter to trigger a value changed event without having to actually change a value.

  • Dependency Features Added:

    • IsUpdateValueWhenLostFocus
    • HorizontalContentAlignment
    • IsEnableValidatingIndicator

Thanx for contributing go to heartacker 🙏

Visit the project site for more details: https://github.com/Dirkster99/NumericUpDownLib

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Dirkster.NumericUpDownLib:

Package Downloads
Dirkster.ColorPickerLib

Provides a .Net implementation of a WPF color picker control supporting HSV and RGB.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Dirkster.NumericUpDownLib:

Repository Stars
Dirkster99/AvalonDock
Our own development branch of the well known WPF document docking library
DaxStudio/DaxStudio
DAX Studio is a tool to write, execute, and analyze DAX queries in Power BI Desktop, Power Pivot for Excel, and Analysis Services Tabular.
Dirkster99/Edi
Edi - The open source text editor IDE based on AvalonDock and AvalonEdit
Version Downloads Last updated
3.3.0 58 11/22/2022
3.2.0 453 10/20/2022
3.1.0 1,175 7/20/2022
3.0.0 3,042 11/6/2021
2.4.2.2 3,431 12/14/2020
2.4.2.1 2,456 9/2/2020
2.4.2 8,956 5/23/2020
2.4.1 470 5/3/2020
2.4.0 39,080 9/3/2019
2.3.1 1,110 7/28/2019
2.3.0 1,383 3/5/2019
2.2.2 673 2/21/2019
2.1.1 1,253 8/27/2018
2.1.0 1,325 8/26/2018
1.1.0 1,336 8/17/2018
1.0.3 795 6/28/2018
1.0.2 1,332 1/3/2018
1.0.1 1,113 8/15/2017
1.0.0 830 8/2/2017

Adding features and fixes please refer to release notes.