AvaloniaUI / Avalonia.Controls.TreeDataGrid

A combined TreeView/DataGrid for Avalonia.
MIT License
234 stars 49 forks source link

[Feature request] Real-time Application of FormatString in NumericUpDown Component #225

Closed kulikov-dev closed 9 months ago

kulikov-dev commented 9 months ago

Description: I'd like to propose a new feature for the NumericUpDown component, specifically related to the FormatString property. Currently, the FormatString is applied only after the user has finished inputting the value, which means that during input, the user sees the unformatted value. For example, if a user enters "1234567", they see this exact input during the process, and only after finishing input and losing focus, it appears as "1 234 567".

Feature Request: It would be highly beneficial to introduce an optional feature that allows the FormatString to be applied in real-time during value input. This way, users would see the formatted value as they type, providing a more user-friendly experience.

Use Case:

As a user, I want to see the number in the desired format ("1 234 567") as I type it into the NumericUpDown component. Real-time application of FormatString would enhance the user experience and improve usability.

Expected Behavior: When the FormatString is specified, it should be applied as users type, offering a more convenient and intuitive input process.

Thank you for considering this feature request.