Implements numeric up down WPF controls to edit/display values (byte, integer, short, ushort etc.) with a textbox and optional up/down arrow (repeat) buttons. Value editing is possible by dragging the mouse vertically/horizontally, clicking up/down buttons, using up/down or left right cursor keys, spinning mousewheel on mouseover, or editing the textbox.
MIT License
Bot releases are hidden (Show)
Published by Dirkster99 over 1 year ago
Published by Dirkster99 almost 2 years ago
Published by Dirkster99 almost 2 years ago
https://github.com/Dirkster99/NumericUpDownLib/pull/53 Fixes "FormatString not working with custom texts", "Control not scaling correctly with HorizontalAlignment set to 'Stretch'"
Fix #1: FormatString not working with custom texts
Fix #2: Control not scaling correctly with HorizontalAlignment set to "Stretch"
FormatException was fixed in Demo tool
Regarding to Microsoft documentation format string "D" is only supported by integral types (sbyte , byte , short , ushort , int , uint , long , ulong , and char)
(see https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings)
So a different Format string must be provided here in demo tool.
This release has been authored by Jürgen Holzer 🙏
Published by Dirkster99 almost 2 years ago
WaterMark support
Use the Watermark binding to display a default string (when the user deletes all characters in the textbox portion) to hint at the expected input format.
add support command binding
Use the new Command binding to process the event when the user clicks on the Up/Dowm button of the UpDown Control.
This release has been authored by heartacker and Ryan Weldin 🙏
Published by Dirkster99 over 2 years ago
This release has been authored by heartacker 🙏
addr support update value when lostfocus,Fixes #36 #38
Please use the IsUpdateValueWhenLostFocus
property.
support align the value to left/center/right #41
Please use the HorizontalContentAlignment property.
add support to force trigger the ValueChanged event with ctrl+enter #39
Please use Control+Enter to trigger a value changed event without having to actually change a value.
This shortcut cannot be configured out.
support disable editingTip Fixes #37 #43
Please use the IsEnableValidatingIndicator property.
fix: the cursor will focus to the PART_Measuring_Element by mistake #44
Published by Dirkster99 almost 3 years ago
Display and Edit of Hex values
Text portion editing can be:
The Edit TextBox displays during editing a Red or Green indicator (in upper left corner) depending on whether current text is:
Dependency Features Added:
Improved Style/Template
Thanx for contributing go to heartacker 🙏
Published by Dirkster99 almost 4 years ago
Published by Dirkster99 about 4 years ago
PR #10 Do not clear focus when the control change its visibility and its not focused.
Published by Dirkster99 over 4 years ago
Fixing Issue #8
Published by Dirkster99 over 4 years ago
Implemented Issue #7 to allow users a configuration of whether only vertical or only horizontal mouse moves (or both) should be used to incrment/decrement a value in small/large steps.
Fixed Issue #4 The Minimum, Maximum, and Value properties can now be set in any order (to improve support for binding) and should be applied by the control as long as:
(implimented NUnit tests to prove this point)
Published by Dirkster99 about 5 years ago
Published by Dirkster99 about 5 years ago
Published by Dirkster99 over 5 years ago
Published by Dirkster99 over 5 years ago
Published by Dirkster99 about 6 years ago
Bug Fixes + New Features:
Published by Dirkster99 about 6 years ago
Published by Dirkster99 over 6 years ago
Added StepSize dependency property in control and demo code.
Published by Dirkster99 almost 7 years ago
The numeric up down textbox control portion can now also be edit directly via keyboard.
Published by Dirkster99 about 7 years ago
Published by Dirkster99 about 7 years ago