Class NavDestinationTemplate
Represents a default destination template for navigation within the application.
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: Unity.AppUI.Navigation.dll
Syntax
[Serializable]
public abstract class NavDestinationTemplate
Methods
CreateScreen(NavHost)
Creates a new instance of the navigation screen defined by this template.
Declaration
public abstract INavigationScreen CreateScreen(NavHost host)
Parameters
Type | Name | Description |
---|---|---|
NavHost | host | The navigation host that will manage the screen. |
Returns
Type | Description |
---|---|
INavigationScreen | An instance of the navigation screen defined by this template. |
Remarks
The returned screen should be a subclass of VisualElement.