I would like to use the RadNumericUpDown but would have to make all numbers double digits.
So with numbers from 1 to 99 there should 01, 02, 03 ... appear.
Is there a function for this?
Thanks in advance
1 Answer, 1 is accepted
answered on 19 Jun 2018, 08:24 AM
What I can suggest you would be to inherit from RadNumericUpDown and override the FormatEdit and FormatDisplay method. They are responsible for formatting the text when in edit and in display mode. Please try the following snippets:
public override string FormatDisplay()
public override string FormatEdit()
Hope this helps. Please let me know if you have any other questions or concerns.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.