Using the next code:
<dxe:SpinEdit Name="Spin1" IsEnabled="{Binding Data.IsEnabled}" Mask="###.######" MaskType="Numeric"/>
I would like to select the mask format in base of a random value. Kind of(pseudocode):
if (value1 == 1)
{
Mask="###.######"
}
else
{
Mask="###.##"
}
I am working in this idea (It is defined in the own grid):
<dxg:FormatCondition Expression="[value1] = '1'" FieldName="Spin1">
<dxg:Format />
</dxg:FormatCondition>
But how I define the mask in a FormatCondition for an specific case? I Can“t figure out...