Click or drag to resize

Navigation Class

Control to show child panels in a hirarchical stack using a navigation button to go back to a previous panel.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class Navigation : Container

The Navigation type exposes the following members.

Constructors
  NameDescription
Public methodNavigation
Initializes a new instance of the Navigation class.
Public methodNavigation(INavigationItem)
Initializes a new instance of the Navigation class with the initial navigation item.
Public methodNavigation(Control, String)
Initializes a new instance of the Navigation class with the initial content and title.
Top
Properties
  NameDescription
Public propertyControls
Gets an enumeration of controls that are directly contained by this container
(Overrides ContainerControls.)
Public propertyStatic memberIsSupported
Gets a value indicating that the Navigation control is supported by the current platform.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnItemRemoved
Raises the ItemRemoved event.
Protected methodOnItemShown
Raises the ItemShown event.
Public methodPop
Pops the last item from the navigation stack.
Public methodPush(INavigationItem)
Pushes a new navigation item onto the stack.
Public methodPush(Control, String)
Pushes a new pane onto the navigation stack with the specified content and title.
Public methodRemove
Removes the specified child.
(Overrides ContainerRemove(Control).)
Top
Events
  NameDescription
Public eventItemRemoved
Event to handle when an item is removed from the navigation stack, either by the user or by code.
Public eventItemShown
Event to handle when an item is shown on the navigation stack
Top
Fields
  NameDescription
Public fieldStatic memberItemRemovedEvent
Event identifier for handlers when attaching the ItemRemoved event
Public fieldStatic memberItemShownEvent
Event identifier for handlers when attaching the ItemShown event
Top
Remarks
Typically only available on mobile platforms, this allows you to show multiple panes of information in a hierarchical fashion, keeping the state of previous panes.
See Also