private void AddNewHome_CD_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { AddNewHome_CD.Hide(); if (HamburgerMenuSplitView.DisplayMode == SplitViewDisplayMode.Overlay) { HamburgerMenuSplitView.IsPaneOpen = false; } ClearNavMenu(); MyHome_ListView.SelectedIndex = 0; //Homes_ListView.SelectedIndex = -1; NavMenuListView.navlistone[0].IsSelected = true; shellFrame.Navigate(typeof(Overview.MainPage)); }
private void AddNewHome_CD_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { SelectHome_ContentDialogue.IsPrimaryButtonEnabled = false; AddNewHome_CD.Hide(); }