Routing Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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. |