A newer version of this page is available. Switch to the current version.

BarStaticItemSize Enum

Specifies width settings for a specific BarStaticItem.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll


public enum BarStaticItemSize


Name Description

Leaves the width of a specific BarStaticItem‘s link at the precompiled state.


Resizes a specific BarStaticItem‘s link so its width matches that link’s contents width.


Resizes a specific BarStaticItem‘s link so that it consumes the largest possible area of a specific bar.

This option is only in effect when the link is positioned within a status bar specified by the BarManager.StatusBar property.

Related API Members

The following properties accept/return BarStaticItemSize values:


The width of the BarStaticItem is determined by BarStaticItem.AutoSize property value, the contents of the item and other static items within a particular bar. If several static items within a single bar have their BarStaticItem.AutoSize property value set to BarStaticItemSize.Spring, then all such items are resized to share the bar width accordingly.

See Also