Back to Devexpress

BarItemLink.AllowCollapseInSimplifiedRibbon Property

windowsforms-devexpress-dot-xtrabars-dot-baritemlink-3cb20de3.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

|

Remarks

Hidden item links are accessible through the “More Commands” button.

See Also

BarItemLink Class

BarItemLink Members

DevExpress.XtraBars Namespace