Class DefaultDestinationTemplate
Represents a default destination template for navigation within the application.
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: Unity.AppUI.Navigation.dll
Syntax
[Serializable]
public class DefaultDestinationTemplate : NavDestinationTemplate
Properties
showAppBar
Weathers or not to show the app bar when navigating to this destination.
Declaration
public bool showAppBar { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
showBackButton
Weathers or not to show the back button when navigating to this destination.
Declaration
public bool showBackButton { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
This property is ignored if showAppBar is false.
See Also
showBottomNavBar
Weathers or not to show the bottom navigation bar when navigating to this destination.
Declaration
public bool showBottomNavBar { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
showDrawer
Weathers or not to show the drawer when navigating to this destination.
Declaration
public bool showDrawer { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
showNavigationRail
Weathers or not to show the navigation rail when navigating to this destination.
Declaration
public bool showNavigationRail { get; set; }
Property Value
Type | Description |
---|---|
bool |
See Also
template
The type of screen to use when navigating to this destination.
Declaration
public string template { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Methods
CreateScreen(NavHost)
Creates a new instance of the navigation screen defined by this template.
Declaration
public override 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. |
Overrides
Remarks
The returned screen should be a subclass of VisualElement.