C# Class Catel.Windows.Controls.Page.Page

Inheritance: System.Windows.Controls.Page, IPage
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
Page ( ) : System

Initializes a new instance of the Page class.

It is not possible to inject view models.

Méthodes protégées

Méthode Description
OnLoaded ( global::Windows.UI.Xaml.RoutedEventArgs e ) : void

Called when the page is loaded.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a dependency property on this control has changed.

OnUnloaded ( global::Windows.UI.Xaml.RoutedEventArgs e ) : void

Called when the page is unloaded.

OnViewModelChanged ( ) : void

Called when the ViewModel has changed.

This method does not implement any logic and saves a developer from subscribing/unsubscribing to the ViewModelChanged event inside the same user control.

OnViewModelPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a property on the current ViewModel has changed.

Private Methods

Méthode Description
RaiseViewModelChanged ( ) : void

Method Details

OnLoaded() protected méthode

Called when the page is loaded.
protected OnLoaded ( global::Windows.UI.Xaml.RoutedEventArgs e ) : void
e global::Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Résultat void

OnPropertyChanged() protected méthode

Called when a dependency property on this control has changed.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
Résultat void

OnUnloaded() protected méthode

Called when the page is unloaded.
protected OnUnloaded ( global::Windows.UI.Xaml.RoutedEventArgs e ) : void
e global::Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Résultat void

OnViewModelChanged() protected méthode

Called when the ViewModel has changed.
This method does not implement any logic and saves a developer from subscribing/unsubscribing to the ViewModelChanged event inside the same user control.
protected OnViewModelChanged ( ) : void
Résultat void

OnViewModelPropertyChanged() protected méthode

Called when a property on the current ViewModel has changed.
protected OnViewModelPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs The instance containing the event data.
Résultat void

Page() public méthode

Initializes a new instance of the Page class.
It is not possible to inject view models.
public Page ( ) : System
Résultat System