Navigation and title bar hidded by default

Feb 21, 2009 at 4:08 PM
Edited Feb 21, 2009 at 4:17 PM
How to make nav bar and title bar start hidden on page load ?

Looks like config only defines Enabled/Disabled option. So is there way to modify LigthTheme source (or any other source modify) to make bars start hidden. (or javascript on page load maybe)?

Thanks
Daniel
Feb 21, 2009 at 4:40 PM
Here is one way to do this. Modify Page.xaml.cs like this:

1. Insert to line 43:  this.Loaded += new System.Windows.RoutedEventHandler(Page_Loaded);
2. Add method:
        void Page_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            slideDescription.Hide();
            navigationTray.Hide();
        }

Rebuild and copy Vertigo.SlideShow.xap from to sample folder ClientBin.

Now bars only blink when control loads and would be better avoid this also, any suggestions?

Cheers
Daniel