Back to Devexpress

RibbonControl.AutoSizeItems Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-24d92521.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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.

See Also

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace