C# 클래스 FirstFloor.ModernUI.Windows.Navigation.NavigationHelper

Provides helper function for navigation.
파일 보기 프로젝트 열기: gro-ove/actools 1 사용 예제들

공개 메소드들

메소드 설명
FindFrame ( string name, FrameworkElement context ) : ModernFrame

Finds the frame identified with given name in the specified context.

RemoveFragment ( Uri uri ) : Uri

Removes the fragment from specified uri and return it.

RemoveFragment ( Uri uri, string &fragment ) : Uri

Removes the fragment from specified uri and returns the uri without the fragment and the fragment itself.

ToUri ( object value ) : Uri

Tries to cast specified value to a uri. Either a uri or string input is accepted.

TryParseUriWithParameters ( object value, Uri &uri, string &parameter, string &targetName ) : bool

Tries to parse a uri with parameters from given value.

TryParseUriWithParameters ( string value, Uri &uri, string &parameter, string &targetName ) : bool

Tries to parse a uri with parameters from given string value.

메소드 상세

FindFrame() 공개 정적인 메소드

Finds the frame identified with given name in the specified context.
public static FindFrame ( string name, FrameworkElement context ) : ModernFrame
name string The frame name.
context System.Windows.FrameworkElement The framework element providing the context for finding a frame.
리턴 FirstFloor.ModernUI.Windows.Controls.ModernFrame

RemoveFragment() 공개 정적인 메소드

Removes the fragment from specified uri and return it.
public static RemoveFragment ( Uri uri ) : Uri
uri System.Uri The uri
리턴 System.Uri

RemoveFragment() 공개 정적인 메소드

Removes the fragment from specified uri and returns the uri without the fragment and the fragment itself.
public static RemoveFragment ( Uri uri, string &fragment ) : Uri
uri System.Uri The uri.
fragment string The fragment, null if no fragment found
리턴 System.Uri

ToUri() 공개 정적인 메소드

Tries to cast specified value to a uri. Either a uri or string input is accepted.
public static ToUri ( object value ) : Uri
value object
리턴 System.Uri

TryParseUriWithParameters() 공개 정적인 메소드

Tries to parse a uri with parameters from given value.
public static TryParseUriWithParameters ( object value, Uri &uri, string &parameter, string &targetName ) : bool
value object The value.
uri System.Uri The URI.
parameter string The parameter.
targetName string Name of the target.
리턴 bool

TryParseUriWithParameters() 공개 정적인 메소드

Tries to parse a uri with parameters from given string value.
public static TryParseUriWithParameters ( string value, Uri &uri, string &parameter, string &targetName ) : bool
value string The value.
uri System.Uri The URI.
parameter string The parameter.
targetName string Name of the target.
리턴 bool