How can i reload my layout and apply the changes in silverlight 4

Posted by MirooEgypt on Stack Overflow See other posts from Stack Overflow or by MirooEgypt
Published on 2010-04-27T15:07:58Z Indexed on 2010/04/27 15:43 UTC
Read the original article Hit count: 310

i do a localized application using silverligth 4. after changing my culture thread i do

LayoutRoot.Children.Clear();
MainPage MyPage = new MainPage();
LayoutRoot.Children.Add(MyPage);

but i get an error "value does not fall within the expected range" how can i reload the layout to apply the language changing

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about visual-studio-2010