private void HelpButton_OnClick(object sender, RoutedEventArgs e) { AppTitleTextBlock.Text = App.ResourceLoader.GetString("Text_Title_Help"); ContentFrame.Navigate(typeof(HelpPage)); SplitView.IsPaneOpen = false; Spotlight.Hide(true); }
private void HamburgBackButton_OnMenuClicked(object sender, EventArgs e) { SplitView.IsPaneOpen = !SplitView.IsPaneOpen; if (SplitView.IsPaneOpen) { Spotlight.Hide(); } }
public MainPage() { InitializeComponent(); Window.Current.SetTitleBar(TitleBarHolder); Spotlight.Hide(); ViewModel = ViewModelLocator.Instance.MediaLibraryViewModel; ContentFrame.Navigated += ContentFrameOnNavigated; ContentFrame.Navigate(typeof(PlaylistTopContentPage)); SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested; Spotlight.PointerWheelChanged += SpotlightOnPointerWheelChanged; }
private void CreatePlaylistButton_OnClick(object sender, RoutedEventArgs e) { ContentFrame.Navigate(typeof(CreatePlaylistPage)); SplitView.IsPaneOpen = false; Spotlight.Hide(true); }