Hi,
I'm required to show the following format througt the application "yyyy-MMM-dd". I define the thread as follow
var cultureInfo = System.Globalization.CultureInfo.CreateSpecificCulture(""); var dateTimeFormatInfo = new DateTimeFormatInfo(); dateTimeFormatInfo.ShortDatePattern = "yyyy-MMM-dd"; dateTimeFormatInfo.DateSeparator = "-"; cultureInfo.DateTimeFormat = dateTimeFormatInfo; System.Threading.Thread.CurrentThread.CurrentCulture = cultureInfo;
Everything works fine however the when I go to edit mode the format goes to "yyyy-MM-dd" and I have no idea where that come from.
Regards,
Dominik
The masked editor (xamDateTimeEditor is a derived xamMaskedEditor) does not currently support Month/Day name sections - only the numeric value - so that is why the mask is using "MM" when you go into edit mode.
Ok, but how can I change that behavior, any solution is acceptable. Is it possible to inherit from XamDateTimeEditor and override something.