wpf icon indicating copy to clipboard operation
wpf copied to clipboard

[FR] Add NumericUpDown

Open tim-gromeyer opened this issue 1 year ago • 3 comments

Hello,

I would like to request a feature for a NumericUpDown control. This is a common widget that allows users to enter and adjust numeric values using a textbox and arrows or the mouse wheel. It is available in other frameworks such as Qt (see https://doc.qt.io/qt-6/qdoublespinbox.html and https://doc.qt.io/qt-6/qspinbox.html).

I think this would be a useful addition to the graphics framework, as it would provide a more user-friendly and intuitive way to input numeric data. Currently, the only option is to use a textbox with a validator, which is not very convenient or elegant.

Thank you for your consideration and your hard work on this project.

tim-gromeyer avatar Dec 07 '23 10:12 tim-gromeyer

@tim-gromeyer - Yup, this looks a valid request. However, we will be taking up newer controls once we deliver on Win11 theming first.

pchaurasia14 avatar Dec 07 '23 10:12 pchaurasia14

If this gets added I hope its more than just an integer spinner. A good NumericUpDown is difficult. It must support all kind of value types (float, integer, double etc). It must support all kind of format types (decimal, hexdecimal etc).

Symbai avatar Dec 08 '23 15:12 Symbai

Duplicate of #2096.

I agree that NumericUpDown is a pretty fundamental control that should be provided by WPF itself.

rampaa avatar May 05 '24 12:05 rampaa