/// <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;
        }
Beispiel #2
0
 public void ShowModal(string message)
 {
     currentModalMessage = message;
     returningFromModal  = true;
     CurrentView.Navigate(new Uri("Views/ModalView.xaml", UriKind.Relative));
 }
Beispiel #3
0
 public void ShowKeyboard()
 {
     CurrentView.Navigate(new Uri("Views/KeyboardView.xaml", UriKind.Relative));
 }
Beispiel #4
0
 public void SetPage(Uri uri)
 {
     CurrentView.Navigate(uri);
 }