Bar

BarItemLink.AllowCollapseInSimplifiedRibbon Property

If the RibbonControl.RibbonStyle property equals Office2019, users can switch between normal and Simplified Ribbon states. In the Simplified state, a Ribbon has only one row for all its items, and hides some of them if there is not enough free space. The AllowCollapseInSimplifiedRibbon property specifies whether a Simplified Ribbon can hide this item link, or it should be always visible.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
[SupportedByRibbon(SupportedByRibbonKind.Supported)]
[SupportedByBarManager(SupportedByBarManagerKind.NonSupported)]
public bool AllowCollapseInSimplifiedRibbon { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
<SupportedByRibbon(SupportedByRibbonKind.Supported)>
<SupportedByBarManager(SupportedByBarManagerKind.NonSupported)>
Public Property AllowCollapseInSimplifiedRibbon As Boolean

Property Value

Type Default Description
Boolean

true

Specifies whether or not a Simplified Ribbon can hide this item link.

Remarks

Hidden item links are accessible through the "More Commands" button.

morecommands

Implements

DevExpress.XtraBars.Ribbon.IRibbonItem.AllowCollapseInSimplifiedRibbon
See Also