Header menu logo Navs

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

AvaloniaRouter(routes, ?splash)

Full Usage: AvaloniaRouter(routes, ?splash)

Parameters:
    routes : 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
routes : 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

Type something to start searching.