示例#1
0
        void HostCommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args)
        {
            if (Content == null)
            {
                return;
            }

            var viewType = Content.GetType();
            var request  = new DisplaySettingsRequest(viewType, args.Request);

            PresentationBus.PublishAsync(request);
        }
示例#2
0
 private void SetCanGoBack()
 {
     CanGoBack = _navigationStack.Count() > 1;
     PresentationBus.PublishAsync(new CanGoBackChanged(CanGoBack));
 }