Mind your language – Silverlight – The missing notes
I’m starting a series of posts on important information that is available scattered over blogs and forums that are critical to Silverlight developers.
The first one is called “Mind your [I8N] language“.
Always add the following line into your root visual’s constructor. It ensures that dates and currency formats display correctly on DataGrids (particularly in non-US countries.
public MainPage()
{
InitializeComponent();
this.Language = XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentUICulture.Name);
}
Listing of Silverlight – The missing notes
- Mind Your I8N Language Silverlight
- Do not publish Silverlight xaps to ClientBin
- Creating Collections in XAML
- Speed up your environment [VS2010]
Silverlight – How-to-guides for busy developers
About this entry
You’re currently reading “ Mind your language – Silverlight – The missing notes ,” an entry on Chui's Counterpoint
- Published:
- 11.26.11 / 4am
- Category:
- Silverlight
No comments
Jump to comment form | comments rss [?] | trackback uri [?]