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.v23.2.dll

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

Declaration

[Browsable(false)]
public virtual NavBarScrollMode ScrollMode { get; set; }

Property Value

Type Description
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