AvaloniaRouter Type
A router that is specialized to work with Avalonia types. This router will render any object that inherits from Avalonia's of Control.
Constructors
Constructor | Description |
Full Usage:
AvaloniaRouter(routes, ?splash)
Parameters:
RouteDefinition<Control> seq
-
The routes that the router will use to match the URL and render the view
?splash : Func<Control>
-
The router initially doesn't have a view to render. You can provide this function
to supply a splash-like (like mobile devices initial screen) view to render while you trigger the first navigation.
Returns: AvaloniaRouter
|
|