Skip to main content
Bar

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

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