xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.87k stars 873 forks source link

NumericUpDown with Down on the left and Up on the right side #1780

Open StephanWeber79 opened 1 month ago

StephanWeber79 commented 1 month ago

Hello,

is it possible to change the NumericUpDown/Spinner that we had the down-button left from the textbox and the up-button right from the textbox?

i think, it should work with styles, but can't find a way.

XceedBoucherS commented 1 week ago

Hi, I believe this is not possible. The Up and Down button are part of a unique control called ButtonSpinner. Splitting them to have one on the left and another on the right is not possible. Maybe your best option would be to redo the Template to have an Up Button, a TextBox and a Down Button, but it would become a new control. Maybe an easier way would be to redo the template of the ButtonSpinner to reposition the 2 buttons, but it's not a straightforward task.