ghost1372 / HandyControls

Contains some simple and commonly used WPF controls based on HandyControl
https://ghost1372.github.io/
MIT License
1.07k stars 102 forks source link

[Feature request] Add ability to hide NumericUpDown arrows #198

Closed aodpi closed 11 months ago

aodpi commented 1 year ago

Is your feature request related to a problem? Please describe. The NumericUpDown control is awesome. Although I want to use this control to enforce number only input but at the same time I don't want to have the up/down arrows displayed so it behaves like a numeric textbox.

I see there is a TextBox control already present that has TextType property described in documentation, but code wise this property is not there. The TextBox control from HandyControl is nothing but a simple builtin TextBox control with no additional features, yet still these features are described in the docs.

As I can see from the source code here it's just inheriting existing Textbox with no additional feature.

Describe the solution you'd like I would like to be able to hide Up/Down arrows in the NumericUpDown control. There is a DependencyProperty for that but it's marked as internal with no way to change. Code here. I would like this property to be pubic so I can change it based on my needs.

ghost1372 commented 11 months ago

report it in original repo