Skip to main content
Bar

StandaloneBarDockControl.AutoSize Property

Gets or sets whether the control adjusts its size automatically to display its bars in their entirety. This property is not supported when a StandaloneBarDockControl control is placed within a LayoutControl. Use the StandaloneBarDockControl.AutoSizeInLayoutControl property instead.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Description
Boolean

true if the automatic sizing feature is enabled; otherwise, false.

Remarks

When the AutoSize property is set to true, the StandaloneBarDockControl automatically adjusts its size when bars are added to or removed from the control. If the AutoSize property is set to false, the auto-size feature is disabled.

See Also