Dirkster.NumericUpDownLib
2.4.2.2
Provides a numeric up down WPF control that can be used to edit (integer, byte, decimal, double, float, short and many more) values with a textbox and/or up/down arrow (repeat) buttons. Editing can be based on input via mouse wheel, mouse drag, cursor keys, or text editing.
Install-Package Dirkster.NumericUpDownLib -Version 2.4.2.2
dotnet add package Dirkster.NumericUpDownLib --version 2.4.2.2
<PackageReference Include="Dirkster.NumericUpDownLib" Version="2.4.2.2" />
paket add Dirkster.NumericUpDownLib --version 2.4.2.2
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.
Visit the project site for more details: https://github.com/Dirkster99/NumericUpDownLib
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.
Visit the project site for more details: https://github.com/Dirkster99/NumericUpDownLib
Release Notes
BugFix PR #10 Do not clear focus when the control change its visibility and its not focused
Dependencies
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
Used By
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
My 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 History
Version | Downloads | Last updated |
---|---|---|
2.4.2.2 | 278 | 12/14/2020 |
2.4.2.1 | 1,205 | 9/2/2020 |
2.4.2 | 1,481 | 5/23/2020 |
2.4.1 | 203 | 5/3/2020 |
2.4.0 | 7,900 | 9/3/2019 |
2.3.1 | 753 | 7/28/2019 |
2.3.0 | 1,105 | 3/5/2019 |
2.2.2 | 392 | 2/21/2019 |
2.1.1 | 861 | 8/27/2018 |
2.1.0 | 744 | 8/26/2018 |
1.1.0 | 626 | 8/17/2018 |
1.0.3 | 416 | 6/28/2018 |
1.0.2 | 901 | 1/3/2018 |
1.0.1 | 686 | 8/15/2017 |
1.0.0 | 432 | 8/2/2017 |