Back to Devexpress

NavBarControl.State Property

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-24bbc0cf.md

latest2.7 KB
Original Source

NavBarControl.State Property

Gets a value indicating the control’s state.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
public NavBarState State { get; }
vb
<Browsable(False)>
Public ReadOnly Property State As NavBarState

Property Value

TypeDescription
NavBarState

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

|

Available values:

NameDescription
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

LinkPressed

NavDragDrop

NavDragOver

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace