Share via


Routing Class

Definition

Provides methods and properties to manage URI-based navigation routes in Shell applications.

public ref class Routing abstract sealed
public static class Routing
type Routing = class
Public Class Routing
Inheritance
Routing

Fields

Name Description
RouteProperty

Bindable property for attached property Route.

Methods

Name Description
FormatRoute(List<String>)

Formats a list of route segments into a single route string.

FormatRoute(String)

Formats a route string.

GetOrCreateContent(String, IServiceProvider)

Gets or creates content for the specified route using dependency injection services.

GetRoute(BindableObject)

Gets the route string for the specified BindableObject.

RegisterRoute(String, RouteFactory)

Registers a route with a custom factory for creating navigation content.

RegisterRoute(String, Type)

Registers a route with a type that will be instantiated for navigation.

SetRoute(Element, String)

Sets the route string for the specified Element.

UnRegisterRoute(String)

Removes a previously registered route.

Applies to