RibbonPageGroup.AllowRemoveFromParentDuringCustomization Property
Gets or sets if an end-user can remove the current RibbonPageGroup during Ribbon Runtime Customization. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v14.2.dll
#Declaration
[XtraSerializableProperty]
public bool AllowRemoveFromParentDuringCustomization { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true if an end-user can remove the current Ribbon |
#Remarks
By default, Pages and PageGroups a RibbonControl initially contains can not be modified or removed by an end-user. You can set the RibbonControl.AllowCustomizingDefaultGroups property to true to allow an end-user to customize these default Pages and PageGroups. Use the AllowRemoveFromParentDuringCustomization property to explicitly specify whether the target RibbonPageGroup can be customized. See the Ribbon Runtime Customization topic to learn more.