Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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