Beispiel #1
0
 private void RequestNavigate(string target)
 {
     if (_navigationService.CanNavigate(target))
     {
         _navigationService.RequestNavigate(target);
     }
 }
Beispiel #2
0
        public void OpenInRightPane(string pageKey, NavigationParameters navigationParameters = null)
        {
            if (_rightPaneNavigationService.CanNavigate(pageKey))
            {
                _rightPaneNavigationService.RequestNavigate(pageKey, navigationParameters);
            }

            _splitView.IsPaneOpen = true;
            PaneOpened?.Invoke(_splitView, EventArgs.Empty);
        }
        private bool RequestNavigate(string target)
        {
            if (_navigationService.CanNavigate(target))
            {
                _navigationService.RequestNavigate(target);
                return(true);
            }

            return(false);
        }