Back to Devexpress

NavBarControl.ScrollMode Property

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-40ddf225.md

latest1.4 KB
Original Source

NavBarControl.ScrollMode Property

Gets or sets a value that specifies when the NavBarControl’s content can be scrolled.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
public virtual NavBarScrollMode ScrollMode { get; set; }
vb
<Browsable(False)>
Public Overridable Property ScrollMode As NavBarScrollMode

Property Value

TypeDescription
DevExpress.XtraNavBar.NavBarScrollMode

A DevExpress.XtraNavBar.NavBarScrollMode enumeration value that specifies the NavBarControl’s scroll mode.

|

Remarks

By default, a user can scroll the NavBarControl’s content via the mouse wheel when the control is focused. Set the ScrollMode property to NavBarScrollMode.ScrollAlways , to always allow the NavBarControl’s content to be scrolled (regardless of its focused state).

See Also

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace