C# 클래스 WinRTXamlToolkit.Controls.AlternativePage

상속: Windows.UI.Xaml.Controls.UserControl
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

OnFrameChanged() 보호된 메소드

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
리턴 void

OnNavigatedFromAsync() 보호된 메소드

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. ///
리턴 System.Threading.Tasks.Task

OnNavigatedToAsync() 보호된 메소드

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. ///
리턴 System.Threading.Tasks.Task

OnNavigatingFromAsync() 보호된 메소드

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. ///
리턴 System.Threading.Tasks.Task

OnNavigatingToAsync() 보호된 메소드

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.
리턴 System.Threading.Tasks.Task

OnTransitionedFromAsync() 보호된 메소드

Called when the page has transitioned from.
protected OnTransitionedFromAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnTransitionedToAsync() 보호된 메소드

Called when the page is being transitioned to.
protected OnTransitionedToAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnTransitioningFromAsync() 보호된 메소드

Called when the page is being transitioning from.
protected OnTransitioningFromAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnTransitioningToAsync() 보호된 메소드

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

PreloadAsync() 보호된 메소드

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.
리턴 System.Threading.Tasks.Task

UnloadPreloadedAsync() 보호된 메소드

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

프로퍼티 상세

FrameProperty 공개적으로 정적으로 프로퍼티

Frame Dependency Property
public static DependencyProperty,Windows.UI.Xaml FrameProperty
리턴 Windows.UI.Xaml.DependencyProperty

NavigationCacheModeProperty 공개적으로 정적으로 프로퍼티

NavigationCacheMode Dependency Property
public static DependencyProperty,Windows.UI.Xaml NavigationCacheModeProperty
리턴 Windows.UI.Xaml.DependencyProperty

NavigationStateProperty 공개적으로 정적으로 프로퍼티

NavigationState Dependency Property
public static DependencyProperty,Windows.UI.Xaml NavigationStateProperty
리턴 Windows.UI.Xaml.DependencyProperty

PageTransitionProperty 공개적으로 정적으로 프로퍼티

PageTransition Dependency Property
public static DependencyProperty,Windows.UI.Xaml PageTransitionProperty
리턴 Windows.UI.Xaml.DependencyProperty

ShouldWaitForImagesToLoadProperty 공개적으로 정적으로 프로퍼티

ShouldWaitForImagesToLoad Dependency Property
public static DependencyProperty,Windows.UI.Xaml ShouldWaitForImagesToLoadProperty
리턴 Windows.UI.Xaml.DependencyProperty