A newer version of this page is available. Switch to the current version.

NavBarControl.ScrollMode Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll


public virtual NavBarScrollMode ScrollMode { get; set; }
Public Overridable Property ScrollMode As NavBarScrollMode

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