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(); }
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; }