C# Класс Catel.MVVM.Navigation.NavigationAdapter

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DetermineNavigationContext void
Initialize void
OnBackPressed void
Uninitialize void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CanHandleNavigation ( ) : bool

Determines whether the navigation can be handled by this adapter.

GetNavigationUri ( object target ) : string

Gets the navigation URI for the target page.

Приватные методы

Метод Описание
DetermineNavigationContext ( ) : void
Initialize ( ) : void
OnBackPressed ( object sender, BackPressedEventArgs e ) : void
Uninitialize ( ) : void

Описание методов

CanHandleNavigation() защищенный Метод

Determines whether the navigation can be handled by this adapter.
protected CanHandleNavigation ( ) : bool
Результат bool

GetNavigationUri() защищенный Метод

Gets the navigation URI for the target page.
protected GetNavigationUri ( object target ) : string
target object The target.
Результат string

OnNavigatedEvent() публичный Метод

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.
Результат void

OnNavigatingEvent() публичный Метод

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.
Результат void