C# 클래스 AppTemplate.ViewModels.Common.PageViewModel

상속: ViewModelBase
파일 보기 프로젝트 열기: jamesmcroft/Windows-Universal-SplitViewTemplate

공개 메소드들

메소드 설명
NavigateBack ( BackRequestedEventArgs args ) : void

Called to request the navigation frame to navigate backwards.

SetPageFrame ( Frame frame ) : void

Sets the navigation page frame.

보호된 메소드들

메소드 설명
PageViewModel ( IMessenger messenger, NavigationService navigationService ) : System

Initializes a new instance of the PageViewModel class.

메소드 상세

NavigateBack() 공개 메소드

Called to request the navigation frame to navigate backwards.
public NavigateBack ( BackRequestedEventArgs args ) : void
args BackRequestedEventArgs /// The arguments passed from sources requesting to go back (i.e. System back button). ///
리턴 void

PageViewModel() 보호된 메소드

Initializes a new instance of the PageViewModel class.
protected PageViewModel ( IMessenger messenger, NavigationService navigationService ) : System
messenger IMessenger /// The messenger. ///
navigationService NavigationService /// The navigation Service. ///
리턴 System

SetPageFrame() 공개 메소드

Sets the navigation page frame.
/// Thrown if any parameter is null. ///
public SetPageFrame ( Frame frame ) : void
frame Windows.UI.Xaml.Controls.Frame /// The frame to set as the navigation frame. ///
리턴 void