Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1935
Removing the underscore from XamNumericEditor
posted

Possibly a very simple issue.

 

The XamNumericEditor is used in a XamDataGrid of mine because the souce contains some properties of type double.

My question is then. How do I remove the underscore from the NumericEditor, when it is in editing-mode?

  • 5600
    Verified Answer
    Offline posted

    Hello Christian,

    This easily can be achieved by changing the PromptChar property to empty char:

    PromptChar=""(in XAML) or PromptChar=''(code behind). By default PromptChar is set to '_' (underscore).

    Regards,

    Anastas