RibbonControl.AutoSizeItems Property

Gets or sets whether bar item links are displayed with the same width within a group.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(false)]
[XtraSerializableProperty]
public bool AutoSizeItems { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property AutoSizeItems As Boolean

Property Value

Type Default Description
Boolean

false

true, to display bar item links with the same width within a group; otherwise, false.

Remarks

If the AutoSizeItems property equals true, item widths will be adjusted to fit the widest item within this group. The image below illustrates this.

Ribbon Control - AutoSizeItems

See Also