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

  1. Mind Your I8N Language Silverlight
  2. Do not publish Silverlight xaps to ClientBin
  3. Creating Collections in XAML
  4. Speed up your environment [VS2010]

Silverlight – How-to-guides for busy developers

  1. Binding combobox itemsources inside templates
  2. Binding combobox where null is a valid selection
  3. QueryString helpers in Silverlight Navigation applications
  4. Rotating a Silverlight visual tree for landscape printing

About this entry