I am using InfragisticsWPF v12.1 and have tried the following, which just shows fff for the millisecond portion...
<igDP:UnboundField Name="TimeStamp" BindingPath="TimeStamp"> <igDP:Field.Settings> <igDP:FieldSettings EditAsType="{x:Type System:DateTime}"> <igDP:FieldSettings.EditorStyle> <Style TargetType="{x:Type igEditors:XamDateTimeEditor}" > <Setter Property="Mask" Value="mm-dd-yyyy hh:mm:ss.fff" /> </Style> </igDP:FieldSettings.EditorStyle> </igDP:FieldSettings> </igDP:Field.Settings> </igDP:UnboundField>
Any help is appreciated.
Cheers
Jonathan
Thanks, I found this to be nearly correct (on Windows 7). One detail: I needed to use MM instead of mm for the month. Otherwise the minutes were used in place of the month.
Hello Jonathan,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can suggest you use the XamDateTimeEditor’s Format Property instead of Mask to achieve your goal. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.