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


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

Property Value

Type Description

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


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