Hello,
I need to using this editor in the format dd/mm/yyyy. I put the mask: Mask="{}{LOC}dd/mm/yyyy". But when this editor lost the focus the format, it change to mm/dd/yyyy. How can I use this formatting: dd/mm/yyyy?
Thank you
when the control is focused out, the display does not show milliseconds , however when I focus back in,it displays the value
Mask="hh:mm:ss:nnn mm/dd/yyyy" ( requirement is to enter and display millisecond)
<igEditors:XamDateTimeEditor
x:Name="xamDateTimeEditortest"
Mask="hh:mm:ss:nnn mm/dd/yyyy"
/>
Hi Andrew Smith,
I Cheked the Documentation (XamDateTimeEditor.Members) and put this source in the Code Behind.
protected override void OnInitialized(EventArgs e) { base.OnInitialized(e); this.DateTimeEditorEmission.FormatProvider = new System.Globalization.CultureInfo("pt-BR"); Debug.WriteLine(this.DateTimeEditorEmission.DisplayText); }
Now it's correct.
Thank you, for your support.
I wasn't able to reproduce the problem. Is it possible that you have set the Format property of the editor? The Format is used to control the display of the value when not in edit mode but the masked editor will use its mask by default if the Format is not specified.