Ejemplo n.º 1
0
 private void ButtonDialogLicensesHeadingBack_Click(object sender, RoutedEventArgs e)
 {
     if (FrameDialogLicenses.Content.GetType() == typeof(LicenseDetailView))
     {
         FrameDialogLicenses.GoBack(new SlideNavigationTransitionInfo()
         {
             Effect = SlideNavigationTransitionEffect.FromRight
         });
     }
 }
Ejemplo n.º 2
0
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        // METHODS //////////////////////////////////////////////////////////////////////////////////////////////////////////////
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        private async void HyperlinkButtonSettingsAboutLicenses_Click(object sender, RoutedEventArgs e)
        {
            await RunOnUIThreadAsync(CoreDispatcherPriority.Normal, () =>
            {
                ButtonDialogLicensesHeadingBack.IsEnabled = false;

                if (FrameDialogLicenses.Content == null)
                {
                    FrameDialogLicenses.Navigate(typeof(LicensesView), new SuppressNavigationTransitionInfo());
                }
                if (FrameDialogLicenses.Content.GetType() == typeof(LicenseDetailView))
                {
                    FrameDialogLicenses.GoBack(new SuppressNavigationTransitionInfo());
                }
            });
        }
Ejemplo n.º 3
0
 private void ContentDialogRoot_Loaded(object sender, RoutedEventArgs e)
 {
     FrameDialogLicenses.Navigate(typeof(LicensesView), new SuppressNavigationTransitionInfo());
 }