When I add a TimePicker control to a Windows Phone 8.1 application, it uses the 12-hour format instead of the regional format configured at the OS level (Settings > Region > Regional Format).
I know I can force the format manually by setting the ClockIdentifier property but I'm looking for a more elegant/global solution that uses the system settings and configures all my controls at once.
If it must be done manually, how to retrieve the system time format?
One option to try is
(see: http://www.codeproject.com/Articles/25392/Windows-Mobile-Globalization-in-Visual-Studio)
and there is
System.Globalization.CultureInfo.CurrentCulture
andSystem.Globalization.CultureInfo.CurrentUICulture
that can be set programmatically.