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
710
Question to XamNumericEditor
posted

Hi,

I have some project on which I use XamDataGrid and in one column I have numbers on which I need 5 places after coma. I use there XamNumericEditor and it works almost good. The problem is when I have value e.g. 1.2 and it is in none edit mode it works fine it displays correctly (1.2), but when I change mode to edit I have something like this _____1.20000. I need to have the same look in edit mode and in none edit mode but with possibility to write there value which have 5 places after coma e.g. 1.22222

 

Regards

PoKrec

Parents
No Data
Reply
  • 17559
    Suggested Answer
    posted

    Hello PoKrec,

     

    To achieve this functionality I can suggest you set

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

    <Setter Property="Mask" Value="9.99999"/>

    By default in the EditMode PromptChar is set to “_” so by changing the value you can have the similar look of  the editor in and out of edit mode. 

    If you have any further questions I will be glad to help.

Children