Bar

BarStaticItem.AutoSizeMode Property

Gets or sets the item's auto-size mode. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public BarItemAutoSizeMode AutoSizeMode { get; set; }
Public Property AutoSizeMode As BarItemAutoSizeMode

Property Value

Type Description
BarItemAutoSizeMode

A BarItemAutoSizeMode value that specifies the item's auto-size mode.

Remarks

If the AutoSizeMode property is set to BarItemAutoSizeMode.Fill, the item's link occupies the largest possible space within the bar. This setting makes sense when the bar is stretched to the bar container's width (the Bar.UseWholeRow option is enabled).

See Also