Class NavHost
The NavHost is the UI element that manages the navigation stack. It will manage the display of NavigationScreen objects through its NavController.
Implements
Inherited Members
Namespace: Unity.AppUI.Navigation
Assembly: solution.dll
Syntax
public class NavHost : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
| Name | Description |
|---|---|
| NavHost() | Default constructor. |
Fields
| Name | Description |
|---|---|
| containerUssClassName | The NavHost container styling class. |
| itemUssClassName | The NavHost item styling class. |
| ussClassName | The NavHost main styling class. |
Properties
| Name | Description |
|---|---|
| contentContainer | The container that will hold the current NavigationScreen. |
| navController | The controller that manages the navigation stack. |
| visualController | The visual controller that will be used to handle modification of Navigation visual elements, such as BottomNavBar. |