Back to Devexpress

RibbonCustomizationFormOptions.AllowBarSubItems Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncustomizationformoptions-48f008e9.md

latest2.3 KB
Original Source

RibbonCustomizationFormOptions.AllowBarSubItems Property

Gets or sets whether users can customize a sub-menu’s items via the Customization Form.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowBarSubItems { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowBarSubItems As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if users can operate a sub-menu’s items; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowBarSubItems
RibbonControl

.OptionsCustomizationForm .AllowBarSubItems

|

Remarks

The Customization Form does not allow users to drag a sub-menu’s items to the ribbon. In the illustation below, the Customization Form does not display the Save sub-menu’s items.

To allow users to drag a sub-menu’s items onto the ribbon, enable the AllowBarSubItems option.

See Also

RibbonCustomizationFormOptions Class

RibbonCustomizationFormOptions Members

DevExpress.XtraBars.Ribbon Namespace