Exemplo n.º 1
0
        public Shell()
        {
            this.InitializeComponent();

            // this hook allows all pages and user controls to access the methods on the Shell
            App.Shell = this;

            SplitViewNavigationViewModel = new SplitViewNavigationViewModel();
        }
Exemplo n.º 2
0
        public SplitViewContent()
        {
            this.InitializeComponent();
            SplitViewNavigationViewModel = new SplitViewNavigationViewModel();

            //need to load something by default...the mobile view also has a contentcontrol with the same name
            PictureCatalog catalog = new PictureCatalog();

            myContent.Content = catalog;
        }