IsNextTutorialButtonVisible() public static method

public static IsNextTutorialButtonVisible ( string docName ) : bool
docName string
return bool
 private void RootFrame_Navigated(object sender, NavigationEventArgs e)
 {
     docName = e.Parameter as string;
     if (docName != null)
     {
         NextButton.Visibility = (NavigationUtils.IsNextTutorialButtonVisible(docName) ? Visibility.Visible : Visibility.Collapsed);
     }
 }
Beispiel #2
0
        private async void RootFrame_Navigated(object sender, NavigationEventArgs e)
        {
            var newDocName = e.Parameter as string;

            if (docName != newDocName && newDocName != null)
            {
                docName = newDocName;
                Dispatcher.RunAsync(CoreDispatcherPriority.Low, () => { LoadDocument(docName); });
                NextButton.Visibility = (NavigationUtils.IsNextTutorialButtonVisible(docName) ? Visibility.Visible : Visibility.Collapsed);
            }
        }