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

BarHeaderItem.AutoSize Property

This member supports the internal infrastructure, and is not intended to be used directly from your code. This property is not relevant for this class.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override BarStaticItemSize AutoSize { get; set; }

#Property Value

Type
BarStaticItemSize

Available values:

Name Description
None

The item uses the Width property.

Content

The width matches the item’s content.

Spring

The item is automatically stretched to fill all available free space in a bar. The Spring mode cannot be used when the MultiLine option is enabled.

See Also