C# 클래스 Alexandria.Common.NavigationHelper

상속: Windows.UI.Xaml.DependencyObject
파일 보기 프로젝트 열기: rit-sse/alexandria-WinRT 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CoreDispatcher_AcceleratorKeyActivated void
CoreWindow_PointerPressed void

공개 메소드들

메소드 설명
CanGoBack ( ) : bool

Virtual method used by the GoBackCommand property to determine if the Frame can go back.

CanGoForward ( ) : bool

Virtual method used by the GoForwardCommand property to determine if the Frame can go forward.

GoBack ( ) : void

Virtual method used by the GoBackCommand property to invoke the Windows.UI.Xaml.Controls.Frame.GoBack method.

GoForward ( ) : void

Virtual method used by the GoForwardCommand property to invoke the Windows.UI.Xaml.Controls.Frame.GoForward method.

NavigationHelper ( Page page ) : System

Initializes a new instance of the NavigationHelper class.

OnNavigatedFrom ( NavigationEventArgs e ) : void

Invoked when this page will no longer be displayed in a Frame. This method calls SaveState, where all page specific navigation and process lifetime management logic should be placed.

OnNavigatedTo ( NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame. This method calls LoadState, where all page specific navigation and process lifetime management logic should be placed.

비공개 메소드들

메소드 설명
CoreDispatcher_AcceleratorKeyActivated ( CoreDispatcher sender, AcceleratorKeyEventArgs e ) : void

Invoked on every keystroke, including system keys such as Alt key combinations, when this page is active and occupies the entire window. Used to detect keyboard navigation between pages even when the page itself doesn't have focus.

CoreWindow_PointerPressed ( CoreWindow sender, PointerEventArgs e ) : void

Invoked on every mouse click, touch screen tap, or equivalent interaction when this page is active and occupies the entire window. Used to detect browser-style next and previous mouse button clicks to navigate between pages.

메소드 상세

CanGoBack() 공개 메소드

Virtual method used by the GoBackCommand property to determine if the Frame can go back.
public CanGoBack ( ) : bool
리턴 bool

CanGoForward() 공개 메소드

Virtual method used by the GoForwardCommand property to determine if the Frame can go forward.
public CanGoForward ( ) : bool
리턴 bool

GoBack() 공개 메소드

Virtual method used by the GoBackCommand property to invoke the Windows.UI.Xaml.Controls.Frame.GoBack method.
public GoBack ( ) : void
리턴 void

GoForward() 공개 메소드

Virtual method used by the GoForwardCommand property to invoke the Windows.UI.Xaml.Controls.Frame.GoForward method.
public GoForward ( ) : void
리턴 void

NavigationHelper() 공개 메소드

Initializes a new instance of the NavigationHelper class.
public NavigationHelper ( Page page ) : System
page Windows.UI.Xaml.Controls.Page A reference to the current page used for navigation. /// This reference allows for frame manipulation and to ensure that keyboard /// navigation requests only occur when the page is occupying the entire window.
리턴 System

OnNavigatedFrom() 공개 메소드

Invoked when this page will no longer be displayed in a Frame. This method calls SaveState, where all page specific navigation and process lifetime management logic should be placed.
public OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. The Parameter /// property provides the group to be displayed.
리턴 void

OnNavigatedTo() 공개 메소드

Invoked when this page is about to be displayed in a Frame. This method calls LoadState, where all page specific navigation and process lifetime management logic should be placed.
public OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. The Parameter /// property provides the group to be displayed.
리턴 void