C# Class AppTemplate.ViewModels.Common.PageViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: jamesmcroft/Windows-Universal-SplitViewTemplate

Méthodes publiques

Méthode Description
NavigateBack ( BackRequestedEventArgs args ) : void

Called to request the navigation frame to navigate backwards.

SetPageFrame ( Frame frame ) : void

Sets the navigation page frame.

Méthodes protégées

Méthode Description
PageViewModel ( IMessenger messenger, NavigationService navigationService ) : System

Initializes a new instance of the PageViewModel class.

Method Details

NavigateBack() public méthode

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). ///
Résultat void

PageViewModel() protected méthode

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

SetPageFrame() public méthode

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. ///
Résultat void