C# Class Catel.MVVM.Navigation.NavigationAdapter

Afficher le fichier Open project: Catel/Catel

Private Properties

Свойство Type Description
DetermineNavigationContext void
Initialize void
OnBackPressed void
Uninitialize void

Méthodes publiques

Méthode Description
OnNavigatedEvent ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void

Called when the Navigating event is invoked.

This method is public due to the fact that weak events are used. Otherwise, the navigation completed events could not be handled (because we unsubscribed from the RootFrame) when navigating away to prevent memory leaks. Please, do not call this method yourself, otherwise you can seriously ruin your apps.

OnNavigatingEvent ( object sender, System.Windows.Navigation.NavigatingCancelEventArgs e ) : void

Called when the Navigated event is invoked.

This method is public due to the fact that weak events are used. Otherwise, the navigation completed events could not be handled (because we unsubscribed from the RootFrame) when navigating away to prevent memory leaks. Please, do not call this method yourself, otherwise you can seriously ruin your apps.

Méthodes protégées

Méthode Description
CanHandleNavigation ( ) : bool

Determines whether the navigation can be handled by this adapter.

GetNavigationUri ( object target ) : string

Gets the navigation URI for the target page.

Private Methods

Méthode Description
DetermineNavigationContext ( ) : void
Initialize ( ) : void
OnBackPressed ( object sender, BackPressedEventArgs e ) : void
Uninitialize ( ) : void

Method Details

CanHandleNavigation() protected méthode

Determines whether the navigation can be handled by this adapter.
protected CanHandleNavigation ( ) : bool
Résultat bool

GetNavigationUri() protected méthode

Gets the navigation URI for the target page.
protected GetNavigationUri ( object target ) : string
target object The target.
Résultat string

OnNavigatedEvent() public méthode

Called when the Navigating event is invoked.
This method is public due to the fact that weak events are used. Otherwise, the navigation completed events could not be handled (because we unsubscribed from the RootFrame) when navigating away to prevent memory leaks. Please, do not call this method yourself, otherwise you can seriously ruin your apps.
public OnNavigatedEvent ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
sender object The sender.
e System.Windows.Navigation.NavigationEventArgs The instance containing the event data.
Résultat void

OnNavigatingEvent() public méthode

Called when the Navigated event is invoked.
This method is public due to the fact that weak events are used. Otherwise, the navigation completed events could not be handled (because we unsubscribed from the RootFrame) when navigating away to prevent memory leaks. Please, do not call this method yourself, otherwise you can seriously ruin your apps.
public OnNavigatingEvent ( object sender, System.Windows.Navigation.NavigatingCancelEventArgs e ) : void
sender object The sender.
e System.Windows.Navigation.NavigatingCancelEventArgs The instance containing the event data.
Résultat void