Back to Devexpress

XtraLayoutPanelBase.AutoScroll Property

windowsforms-devexpress-dot-utils-dot-layout-dot-xtralayoutpanelbase.md

latest1.7 KB
Original Source

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

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

Declaration

csharp
[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Always)]
public override bool AutoScroll { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(False)>
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
Public Overrides Property AutoScroll As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

XtraLayoutPanelBase Class

XtraLayoutPanelBase Members

DevExpress.Utils.Layout Namespace