windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-24bbc0cf.md
Gets a value indicating the control’s state.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
[Browsable(false)]
public NavBarState State { get; }
<Browsable(False)>
Public ReadOnly Property State As NavBarState
| 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).
|
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