Assuming that your SL app is running in-browser, you may want your SL app to have initial focus, e.g. when it loads a splash screen, the OK button has focus.
You can help achieve this by using System.Windows.Browser.HtmlPage.Plugin.Focus();
in your loaded event handler for your usercontrol\childwindow, e.g.:
private void ChildWindow_Loaded(object sender, RoutedEventArgs e)
{
// ensure SL plugin has focus
System.Windows.Browser.HtmlPage.Plugin.Focus();
}
SHARE: