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

NavBarControl.State Property

Gets a value indicating the control’s state.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[Browsable(false)]
public NavBarState State { get; }

#Property Value

Type Description
NavBarState

A NavBarState enumeration value indicating the current control’s state.

Available values:

Name Description
Normal

No user operation are currently performed over the control.

GroupPressed

A user is curently pressing a group caption.

LinkPressed

A user is currently pressing a link.

UpButtonPressed

A user is currently pressing the up scroll button.

DownButtonPressed

A user is currently pressing the down scroll button.

LinkDragging

A user is currently dragging a link.

NavigationPaneOveflowButton

A user is currently pressing a button within the Overflow panel when the “NavigationPane” view is applied.

NavigationPaneSizing

A user is currently dragging the splitter when the “NavigationPane” view is applied. The splitter is displayed between the active group and the group buttons in this view.

ExpandButtonPressed

The expand button is being pressed (in the NavigationPane paint style).

ContentButtonPressed

The content button is being pressed (in the NavigationPane paint style).

#Remarks

Read the State property to determine the action currently performed by a user. It provides information on whether a user is currently pressing or dragging a control’s element. If no operations is currently performed, this property returns the NavBarState.Normal value.

See Also