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
3806
XamNumericEditor- changing mask property in style does not work
posted

I am trying to change the mask in style for XamNumericEditor, which is not working. How can I change the Mask in styles depending on my data trigger.
Here is small sample to explain this issue.

<igEditors:XamNumericEditor x:Name="xamNumericEditor" Width="300"
PromptChar="" Format="###,#" Mask="{}{double:20.2}">
<igEditors:XamNumericEditor.Style>
<Style TargetType="{x:Type igEditors:XamNumericEditor}">
<Setter Property="Mask" Value="{}{double:10.2}" />
</Style>
</igEditors:XamNumericEditor.Style>
</igEditors:XamNumericEditor>