Back to Devexpress

NavigationEventArgs.NavigationMode Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-navigationeventargs-187b6fba.md

latest3.0 KB
Original Source

NavigationEventArgs.NavigationMode Property

Gets the current navigation’s direction.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public NavigationMode NavigationMode { get; }
vb
Public ReadOnly Property NavigationMode As NavigationMode

Property Value

TypeDescription
NavigationMode

A NavigationMode enumerator value that specifies the current navigation’s direction.

|

Available values:

NameDescription
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).

|

Remarks

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

NavigationEventArgs Class

NavigationEventArgs Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace