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
260
Problem with XamNumericEditor
posted

Hi everyone,

I have an issue in setting the property "Format" for xamnumeric editor in the xamdatagrid.I want to display as well as accept a number in the format               "12 345 678" instead of "12345678" i have set the Format Property value as "### ### ###". Now the problem is, though the number is displaying in the format i desired, but the control is not accepting "0" as user input,i.e., "0" is not displaying in the screen.Here is the part of code.

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

Value="-nnnnnnnnn" />

<Setter Property="ValueType"

Value="{x:Type sys:Double}"/>

<Setter Property="Format"

Value="### ### ###"/>

</Style>

Can anyone help me in this?