Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavigationEventArgs.NavigationMode Property

Gets the current navigation’s direction.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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