The MindFusion Forums
MindFusion.UI controls >> WPF >> Localization of DateTimePicker
https://mindfusion.eu/Forum/YaBB.pl?num=1441118716

Message started by kelahrAXIT on Sep 1st, 2015 at 2:45pm

Title: Localization of DateTimePicker
Post by kelahrAXIT on Sep 1st, 2015 at 2:45pm
Hello,
I'd like to know, how I can change the localization of the WPF DateTimePicker. It always shows the date in english, but I need it in german.
I tried the CustomDateTimeFormat, but it has no effect.
I seem to be not able to find a way to change the culture for the control, so any help would be really appreciated!

Regards
Kerstin

Title: Re: Localization of DateTimePicker
Post by Stoyo on Sep 1st, 2015 at 4:06pm
Hi,

Try setting the Language property to de-DE:

[code]
<ui:DateTimePicker x:Name="dtp" Language="de-DE" />[/code]

I hope that helps,
Stoyan

The MindFusion Forums » Powered by YaBB 2.6.11!
YaBB Forum Software © 2000-2024. All Rights Reserved.