Class NavigationCanvasController
A NavigationCanvasController is a specific type of StackCanvasController, designed to provide a user-interface for hierarchical navigation. Like a stack controller, it manages a stack of child view controllers. Each child view controller fills the viewControllersContainer transform and is placed in stack order, making the top-most view controller on the stack visible.
The NavigationCanvasController offers transitions for pushing and popping view controllers on and off its stack. Pushing a view controller onto the stack instantiates its view, embeds it within the navigation controller's viewControllersContainer, and if necessary animates it on-screen. Inversely, popping a view controller off the stack animates it off-screen if necessary, and subsequently destroys it.
In addition, the NavigationCanvasController shows a navigation bar, which includes a title label and back button. Pressing the back button pops a view controller off the stack. By default, a navigation controller animates child view controllers sideways to reflect moving through levels of a hierarchy.
Use a NavigationCanvasController to provide a hierarchical interface scheme.
Inheritance
Implements
Inherited Members
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public class NavigationCanvasController : StackCanvasController, IViewControllerAppearance, IAppearable, ITransitionContextViewController, IGraphableTransitionViewObjectContainer, IGraphableTransitionInvoker, IGraphableEmbedContainer, IGraphableFieldProvider, IGraphable
Fields
PopToRootTransition
The transition identifier for the Navigation Canvas Controller's Pop To Root transition.
Declaration
public static readonly ViewControllerTransitionIdentifier PopToRootTransition
Field Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
PopToTransition
The transition identifier for the Navigation Canvas Controller's Pop To transition.
Declaration
public static readonly ViewControllerTransitionIdentifier PopToTransition
Field Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
PopTransition
The transition identifier for the Navigation Canvas Controller's Pop transition.
Declaration
public static readonly ViewControllerTransitionIdentifier PopTransition
Field Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
PushTransition
The transition identifier for the Navigation Canvas Controller's Push transition.
Declaration
public static readonly ViewControllerTransitionIdentifier PushTransition
Field Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
SetRootTransition
The transition identifier for the Navigation Canvas Controller's Set Root transition.
Declaration
public static readonly ViewControllerTransitionIdentifier SetRootTransition
Field Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Properties
PopToRootTransitionIdentifier
Declaration
protected override ViewControllerTransitionIdentifier PopToRootTransitionIdentifier { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Overrides
PopToTransitionIdentifier
Declaration
protected override ViewControllerTransitionIdentifier PopToTransitionIdentifier { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Overrides
PopTransitionIdentifier
Declaration
protected override ViewControllerTransitionIdentifier PopTransitionIdentifier { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Overrides
PushTransitionIdentifier
Declaration
protected override ViewControllerTransitionIdentifier PushTransitionIdentifier { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Overrides
SetRootTransitionIdentifier
Declaration
protected override ViewControllerTransitionIdentifier SetRootTransitionIdentifier { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier |
Overrides
Methods
OnValidate()
Declaration
protected virtual void OnValidate()