/// <summary> /// Sets the split view content to the specified page. /// </summary> /// <param name="selectedItem"></param> private void SetContent(ListBoxItem selectedItem) { var view = selectedItem.Equals(Home) ? typeof(BoardView) : typeof(HelpView); CurrentView.Navigate(view); PageLocation.Text = selectedItem.Name; prevSelected = selectedItem; }
public void ShowModal(string message) { currentModalMessage = message; returningFromModal = true; CurrentView.Navigate(new Uri("Views/ModalView.xaml", UriKind.Relative)); }
public void ShowKeyboard() { CurrentView.Navigate(new Uri("Views/KeyboardView.xaml", UriKind.Relative)); }
public void SetPage(Uri uri) { CurrentView.Navigate(uri); }