How can I set a NumberFormat (like "#,##0.00") for Columns in a Grid? I don't find an appropriate Property in FieldSettings.
Hi,
For that you need to set the EditorStyle property of the FieldSettings. Format and FormatProvider are exposed on the editors themselves. Something like this:
<Style TargetType="{x:Type dge:ValueEditor}" >
<Setter Property="Format" Value="yyyy/mm/dd"/>
</Style>
</dg:FieldSettings.EditorStyle>
Hope this helps,
Sandip
Is there anyway to do this during run time in the C# code.
The user preference for how to display Date information is stored on the server and can be different for each user.
How can I do this during run time ?