Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Utils, 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