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
1493
RunTime decimal palces using mask editor
posted

Hi,

     I am trying to achieve the functionality of dynamic number places in my editor. Is it possible that on run time I can give the number of places to show in an editor in this way

 

 

Style 

 

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

 

 

 

<Setter Property="Mask" Value ="{}{double:-{Binding Path=Number}.{Binding Path=Decimals}:c}"/>

 

 

 

</Style>

Please suggest solution

Thanks.