Skip to main content

NavigationEventArgs.NavigationMode Property

Gets the current navigation’s direction.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public NavigationMode NavigationMode { get; }

Property Value

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

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