Skip to main content
A newer version of this page is available. .

XtraLayoutPanelBase.AutoScroll Property

Gets or sets whether the panel enables scrollbars that allow you to scroll to any controls placed outside the panel’s visible boundaries.

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v21.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Win.Design, DevExpress.Wpf.Core

Declaration

[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override bool AutoScroll { get; set; }

Property Value

Type Default Description
Boolean false

true, to automatically show scrollbars; false, to hide scrollbars.

Remarks

If the AutoScroll property is set to true, the panel automatically maintains the visibility of scrollbars. Scrollbars are displayed when the panel’s controls reside outside the panel’s visible boundaries.

See Also