Skip to main content

NavBarControl.ScrollMode Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation


public virtual NavBarScrollMode ScrollMode { get; set; }

Property Value

Type Description

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


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