C# Класс Catel.Services.NavigationService

Service to navigate inside applications.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CloseMainWindow void
Initialize void
NavigateBack void
NavigateForward void
NavigateToUri void
NavigateWithParameters void
ToQueryString string

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

Метод Описание
GetBackStackCount ( ) : int

Returns the number of total back entries (which is the navigation history).

RemoveAllBackEntries ( ) : void

Removes all the back entries from the navigation history.

RemoveBackEntry ( ) : void

Removes the last back entry from the navigation history.

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

Метод Описание
ResolveNavigationTarget ( Type viewModelType ) : string

Resolves the navigation target.

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

Метод Описание
CloseMainWindow ( ) : void
Initialize ( ) : void
NavigateBack ( ) : void
NavigateForward ( ) : void
NavigateToUri ( Uri uri ) : void
NavigateWithParameters ( string uri, object>.Dictionary parameters ) : void
ToQueryString ( object>.Dictionary parameters ) : string

Converts a dictionary to query string parameters.

This method uses the Object.ToString method to convert values to a parameter value. Make sure that the objects passed correctly support this.

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

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

Returns the number of total back entries (which is the navigation history).
public GetBackStackCount ( ) : int
Результат int

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

Removes all the back entries from the navigation history.
public RemoveAllBackEntries ( ) : void
Результат void

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

Removes the last back entry from the navigation history.
public RemoveBackEntry ( ) : void
Результат void

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

Resolves the navigation target.
protected ResolveNavigationTarget ( Type viewModelType ) : string
viewModelType System.Type The view model type.
Результат string