Hi,
I have been using below code to add Tooltip for a Scatter series and noticed that TooltipModifier’s StringFormat property does not respect System DateTime format.
<TextBlock FontSize="12" Foreground="WhiteSmoke" Text="{Binding XValue, StringFormat=X: {0:G}}" />
According to my regional settings it should be dd/mm/yyyy but it uses US culture settings (mm/dd/yyyy) somehow. Is there any way to specify the culture?
Thanks & Regards,
Charith
- You must login to post comments
Hello Charith,
Thanks for the request. It seems to be WPF issue, please, take a look at these articles:
http://http://www.nbdtech.com/Blog/archive/2009/03/18/getting-a-wpf-application-to-pick-up-the-correct-regional.aspx ,
http://stackoverflow.com/questions/12560412/winrt-apps-and-regional-settings-the-correct-way-to-format-dates-and-numbers-ba .
Could you try any of the solutions proposed there? Please, let us know if this helps!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 11 years ago
- You must login to post comments
Please login first to submit.