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
370
Not showing a comma
posted

Hi.

I using my own style for XamNumericEditor in XamDataGrid:

<Style TargetType="{x:Type igEditors:XamNumericEditor}">

    <Setter Property="Mask" Value="nnn.nnn"/>

    <Setter Property="PromptChar" Value=" "/>

</Style>

When a user trying to enter some number, for example "12,456", he enters "1", then "2", then ",". But at this step he does not see a comma. When the user enters "4" he sees that there is a comma and number 4.

What I need to do to show comma when the user enters it?

I need positive numbers only.