Skip to main content

NavigationType Enum

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Specifies the type of navigation that occurred.

public enum NavigationType

Inheritance: Enum -> NavigationType

Fields

NameDescription
InsertA page was inserted into the navigation stack.
PopThe top page was popped from the navigation stack.
PopModalA modal page was popped from the navigation stack.
PopToRootAll pages above the root were popped.
PushA new page was pushed onto the navigation stack.
PushModalA modal page was pushed on top of the navigation stack.
RemoveA page was removed from the navigation stack.
ReplaceThe current top page was replaced with a new one.

Insert Field

A page was inserted into the navigation stack.

public Avalonia.Controls.NavigationType Insert

Pop Field

The top page was popped from the navigation stack.

public Avalonia.Controls.NavigationType Pop

PopModal Field

A modal page was popped from the navigation stack.

public Avalonia.Controls.NavigationType PopModal

PopToRoot Field

All pages above the root were popped.

public Avalonia.Controls.NavigationType PopToRoot

Push Field

A new page was pushed onto the navigation stack.

public Avalonia.Controls.NavigationType Push

PushModal Field

A modal page was pushed on top of the navigation stack.

public Avalonia.Controls.NavigationType PushModal

Remove Field

A page was removed from the navigation stack.

public Avalonia.Controls.NavigationType Remove

Replace Field

The current top page was replaced with a new one.

public Avalonia.Controls.NavigationType Replace