C# 클래스 Catel.Services.NavigationService

Service to navigate inside applications.
파일 보기 프로젝트 열기: Catel/Catel

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