windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-navigationeventargs-187b6fba.md
Gets the current navigation’s direction.
Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public NavigationMode NavigationMode { get; }
Public ReadOnly Property NavigationMode As NavigationMode
| Type | Description |
|---|---|
| NavigationMode |
A NavigationMode enumerator value that specifies the current navigation’s direction.
|
Available values:
| Name | Description |
|---|---|
| New |
Indicates that an end-user navigates to the newly created container.
| | Back |
Indicates that an end-user navigates from the current container to its parent container. The opposite of the NavigationMode.Forward value.
| | Forward |
Indicates that an end-user navigates from a parent container to its child container (e.g., from a TileContainer to its TileContainer.ActivationTarget).
| | Refresh |
Indicates that the current navigation occurs within the single container (e.g., navigating through Documents within a PageGroup).
|
The WindowsUIView.NavigatedFrom and WindowsUIView.NavigatedTo events can occur when an end-user navigates through different containers, or within a single container, or to a newly created container. In each of these cases, the NavigationMode property marks navigation events with different direction values.
See the Application Hierarchy and Module Navigation topic to learn more.
See Also