C# Class WinRTXamlToolkit.Controls.AlternativePage

Inheritance: Windows.UI.Xaml.Controls.UserControl
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
FrameProperty Windows.UI.Xaml.DependencyProperty
NavigationCacheModeProperty Windows.UI.Xaml.DependencyProperty
NavigationStateProperty Windows.UI.Xaml.DependencyProperty
PageTransitionProperty Windows.UI.Xaml.DependencyProperty
ShouldWaitForImagesToLoadProperty Windows.UI.Xaml.DependencyProperty

Méthodes protégées

Méthode Description
OnFrameChanged ( AlternativeFrame oldFrame, AlternativeFrame newFrame ) : void

Provides derived classes an opportunity to handle changes to the Frame property.

OnNavigatedFromAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task

Invoked immediately after the Page is unloaded and is no longer the current source of a parent AlternativeFrame.

OnNavigatedToAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task

Invoked when the Page is loaded and becomes the current source of a parent AlternativeFrame.

OnNavigatingFromAsync ( AlternativeNavigatingCancelEventArgs e ) : System.Threading.Tasks.Task

Invoked immediately before the Page is unloaded and is no longer the current source of a parent AlternativeFrame.

OnNavigatingToAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task

When overriden in child classes - enables to perform limited processing before a navigation progresses.

OnTransitionedFromAsync ( ) : System.Threading.Tasks.Task

Called when the page has transitioned from.

OnTransitionedToAsync ( ) : System.Threading.Tasks.Task

Called when the page is being transitioned to.

OnTransitioningFromAsync ( ) : System.Threading.Tasks.Task

Called when the page is being transitioning from.

OnTransitioningToAsync ( ) : System.Threading.Tasks.Task

When overriden in child classes - enables to perform limited processing before a transition starts.

PreloadAsync ( object parameter ) : System.Threading.Tasks.Task

Preloads page content if the page gets preloaded using AlternativeFrame.Preload() call. Child classes can override this method to provide additional behavior, e.g. initializing page view model based on the parameter.

If another page gets navigated to - the preloaded page will be released or cached depending on its NavigationCacheMode property.

UnloadPreloadedAsync ( ) : System.Threading.Tasks.Task

When overriden in a derived class - unloads the preloaded page data.

Private Methods

Méthode Description
OnFrameChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Frame property.

OnNavigatedFromInternalAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task
OnNavigatedToInternalAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task
OnNavigatingFromInternalAsync ( AlternativeNavigatingCancelEventArgs e ) : System.Threading.Tasks.Task
OnNavigatingToInternalAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task

The last call before page transition occurs, but after the page has been added to visual tree. An opportunity to wait for some limited loading to complete before the transition animation is played.

OnTransitionedFromInternalAsync ( ) : System.Threading.Tasks.Task
OnTransitionedToInternalAsync ( ) : System.Threading.Tasks.Task
OnTransitioningFromInternalAsync ( ) : System.Threading.Tasks.Task
OnTransitioningToInternalAsync ( ) : System.Threading.Tasks.Task
PreloadInternalAsync ( object parameter ) : System.Threading.Tasks.Task
UnloadPreloadedInternalAsync ( ) : System.Threading.Tasks.Task

Method Details

OnFrameChanged() protected méthode

Provides derived classes an opportunity to handle changes to the Frame property.
protected OnFrameChanged ( AlternativeFrame oldFrame, AlternativeFrame newFrame ) : void
oldFrame AlternativeFrame The old Frame value
newFrame AlternativeFrame The new Frame value
Résultat void

OnNavigatedFromAsync() protected méthode

Invoked immediately after the Page is unloaded and is no longer the current source of a parent AlternativeFrame.
protected OnNavigatedFromAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task
e AlternativeNavigationEventArgs /// Event data that can be examined by overriding code. The event data is representative /// of the navigation that has unloaded the current Page. ///
Résultat System.Threading.Tasks.Task

OnNavigatedToAsync() protected méthode

Invoked when the Page is loaded and becomes the current source of a parent AlternativeFrame.
protected OnNavigatedToAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task
e AlternativeNavigationEventArgs /// Event data that can be examined by overriding code. The event data is representativeThe instance containing the event data. /// of the pending navigation that will load the current Page. Usually the most /// relevant property to examine is Parameter. ///
Résultat System.Threading.Tasks.Task

OnNavigatingFromAsync() protected méthode

Invoked immediately before the Page is unloaded and is no longer the current source of a parent AlternativeFrame.
protected OnNavigatingFromAsync ( AlternativeNavigatingCancelEventArgs e ) : System.Threading.Tasks.Task
e AlternativeNavigatingCancelEventArgs /// Event data that can be examined by overriding code. The event data is representative /// of the navigation that will unload the current Page unless canceled. The /// navigation can potentially be canceled by setting Cancel. ///
Résultat System.Threading.Tasks.Task

OnNavigatingToAsync() protected méthode

When overriden in child classes - enables to perform limited processing before a navigation progresses.
protected OnNavigatingToAsync ( AlternativeNavigationEventArgs e ) : System.Threading.Tasks.Task
e AlternativeNavigationEventArgs The instance containing the event data.
Résultat System.Threading.Tasks.Task

OnTransitionedFromAsync() protected méthode

Called when the page has transitioned from.
protected OnTransitionedFromAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnTransitionedToAsync() protected méthode

Called when the page is being transitioned to.
protected OnTransitionedToAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnTransitioningFromAsync() protected méthode

Called when the page is being transitioning from.
protected OnTransitioningFromAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnTransitioningToAsync() protected méthode

When overriden in child classes - enables to perform limited processing before a transition starts.
protected OnTransitioningToAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PreloadAsync() protected méthode

Preloads page content if the page gets preloaded using AlternativeFrame.Preload() call. Child classes can override this method to provide additional behavior, e.g. initializing page view model based on the parameter.
If another page gets navigated to - the preloaded page will be released or cached depending on its NavigationCacheMode property.
protected PreloadAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object The parameter.
Résultat System.Threading.Tasks.Task

UnloadPreloadedAsync() protected méthode

When overriden in a derived class - unloads the preloaded page data.
protected UnloadPreloadedAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Property Details

FrameProperty public_oe static_oe property

Frame Dependency Property
public static DependencyProperty,Windows.UI.Xaml FrameProperty
Résultat Windows.UI.Xaml.DependencyProperty

NavigationCacheModeProperty public_oe static_oe property

NavigationCacheMode Dependency Property
public static DependencyProperty,Windows.UI.Xaml NavigationCacheModeProperty
Résultat Windows.UI.Xaml.DependencyProperty

NavigationStateProperty public_oe static_oe property

NavigationState Dependency Property
public static DependencyProperty,Windows.UI.Xaml NavigationStateProperty
Résultat Windows.UI.Xaml.DependencyProperty

PageTransitionProperty public_oe static_oe property

PageTransition Dependency Property
public static DependencyProperty,Windows.UI.Xaml PageTransitionProperty
Résultat Windows.UI.Xaml.DependencyProperty

ShouldWaitForImagesToLoadProperty public_oe static_oe property

ShouldWaitForImagesToLoad Dependency Property
public static DependencyProperty,Windows.UI.Xaml ShouldWaitForImagesToLoadProperty
Résultat Windows.UI.Xaml.DependencyProperty