Свойство | Type | Description | |
---|---|---|---|
CacheSizeProperty | |||
CanGoBackProperty | |||
CanGoForwardProperty | |||
CanNavigateProperty | |||
PagePresenterStyleProperty | |||
PageTransitionProperty | |||
ShouldWaitForImagesToLoadProperty | DependencyProperty |
Méthode | Description | |
---|---|---|
AlternativeFrame ( ) : System |
Initializes a new instance of the AlternativeFrame class.
|
|
GetNavigationState ( ) : string |
Serializes the Frame navigation history into a string. Serialization is similar to the one used in the matching Frame class method: 1,TotalPages,BackStackDepth[,SourcePageType_Length,SourcePageType,Parameter_TypeCode,Parameter_Length,Parameter…] |
|
GoBackAsync ( ) : Task |
Goes back in history back stack.
|
|
GoForwardAsync ( ) : Task |
Runs the forward transition.
|
|
NavigateAsync ( |
Navigates to source page of the specified type.
|
|
NavigateAsync ( |
Navigates to source page of the specified type.
|
|
PreloadAsync ( |
Preloads a page of the specified source page type. Allows to preload a page before user navigates to it, so if it does get navigated to - shows up quickly. If another page gets navigated to - the preloaded page will be released or cached depending on its NavigationCacheMode property. |
|
SetNavigationStateAsync ( string navigationState ) : Task |
Reads and restores the navigation history of a Frame from a provided serialization string.
|
|
UnloadAllPreloadedAsync ( ) : Task |
Unloads all preloaded pages. Pages might have been preloaded in the anticipation of the user navigating to them, then a state change might invalidate or reduce the possibility of a navigation request and it might be worth unloading the preloaded pages to release resources that they consumed. The preloaded page will be released or cached depending on its NavigationCacheMode property. |
|
UnloadPreloadedAsync ( Type sourcePageType, object parameter ) : Task |
Unloads the preloaded page of a given type and parameter. A page might have been preloaded in the anticipation of the user navigating to it, then a state change might invalidate or reduce the possibility of a navigation request and it might be worth unloading the preloaded page to release resources that it consumed. The preloaded page will be released or cached depending on its NavigationCacheMode property. |
Méthode | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
|
|
OnPagePresenterStyleChanged ( |
Provides derived classes an opportunity to handle changes to the PagePresenterStyle property.
|
Méthode | Description | |
---|---|---|
AddParameterToNavigationStateString ( System.StringBuilder sb, int typeCode, string valueString ) : void | ||
AppendEntryToNavigationStateString ( System.StringBuilder sb, |
||
NavigateCoreAsync ( |
||
OnCacheSizeChanged ( |
Handles changes to the CacheSize property.
|
|
OnCacheSizeChanged ( int oldCacheSize, int newCacheSize ) : void |
Provides derived classes an opportunity to handle changes to the CacheSize property.
|
|
OnNavigatedAsync ( |
||
OnNavigatingAsync ( |
||
OnPagePresenterStyleChanged ( |
Handles changes to the PagePresenterStyle property.
|
|
ParseJournalEntry ( string parsedString, int &parseIndex ) : |
||
ParseNumber ( string parsedString, int &parseIndex ) : int | ||
ThrottledGoBackAsync ( ) : Task |
||
ThrottledNavigateAsync ( Type sourcePageType, object parameter ) : Task |
||
TransitionBackwardAsync ( AlternativePage currentPage, AlternativePage newPage, ContentPresenter previousPagePresenter, ContentPresenter newPagePresenter ) : Task | ||
TransitionForwardAsync ( AlternativePage currentPage, AlternativePage newPage, ContentPresenter previousPagePresenter, ContentPresenter newPagePresenter ) : Task | ||
UpdateCans ( ) : void |
public NavigateAsync ( |
||
sourcePageType | Type of the source page. | |
Résultat | Task |
public NavigateAsync ( |
||
sourcePageType | Type of the source page. | |
parameter | object | The parameter. |
Résultat | Task |
protected OnPagePresenterStyleChanged ( |
||
oldPagePresenterStyle | The old PagePresenterStyle value | |
newPagePresenterStyle | The new PagePresenterStyle value | |
Résultat | void |
public PreloadAsync ( |
||
sourcePageType | Type of the source page. | |
parameter | object | The parameter. |
Résultat | Task |
public SetNavigationStateAsync ( string navigationState ) : Task | ||
navigationState | string | /// The serialization string that supplies the restore point for navigation history. /// |
Résultat | Task |
public UnloadPreloadedAsync ( Type sourcePageType, object parameter ) : Task | ||
sourcePageType | Type | Type of the source page. |
parameter | object | The parameter. |
Résultat | Task |
public static DependencyProperty,Windows.UI.Xaml CacheSizeProperty | ||
Résultat |
public static DependencyProperty,Windows.UI.Xaml CanGoBackProperty | ||
Résultat |
public static DependencyProperty,Windows.UI.Xaml CanGoForwardProperty | ||
Résultat |
public static DependencyProperty,Windows.UI.Xaml CanNavigateProperty | ||
Résultat |
public static DependencyProperty,Windows.UI.Xaml PagePresenterStyleProperty | ||
Résultat |
public static DependencyProperty,Windows.UI.Xaml PageTransitionProperty | ||
Résultat |