NavigatorRouteEntry
Namespace: Wisej.Web.Ext.Navigator
Assembly: Wisej.Web.Ext.Navigator (4.1.0.0)
Represents a route registered with the Navigator: the path and the Page, page type or callback used to create the page.
- C#
- VB.NET
public class NavigatorRouteEntry
Public Class NavigatorRouteEntry
Properties
Callback
Func<Page>: Returns or sets the callback that creates the Page when the route is used, or null if the route was mapped to a page instance or a type.
Page
Page: Returns or sets the Page instance associated with the route.
For routes mapped with a page type or a callback it's null until the route is used for the first time, and it's set back to null when the page is disposed in Dispose mode.
Path
String: Returns or sets the path of the route, without the leading "/" and without the argument patterns.
A route mapped as "/user/{id}" has the path "user/". When the path contains arguments, it ends with "/".
Type
Type: Returns or sets the type of the Page created when the route is used, or null if the route was mapped to a page instance or a callback.
ViewMode
NavigatorPageMode: Returns or sets whether the page is disposed or kept when the browser navigates to another page.