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
1120
format decimal points
posted

I added the following for xmlDataGrid, however the data still just 2 decimal points. Any ideas?

 

 

 

 

 

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

 

 

 

<Setter Property="Mask" Value="{}{double:-12.5:c}" />

 

 

 

</Style

>

  • 27093
    posted

    Hello,

    From the information you have provided I can say there is nothing wrong with your style. I suppose you have either used a decimal value which is not affected by the {}{double…} mask and is not affected by a XamNumericEditor style but rather by a XamCurrencyEditor. And of course a different editor could  have taken priority over this style setting.

    If this doesn't help please provide some more information about your project.

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support