Skip to main content

RibbonPageCategoryBase.AllowRemoveFromParentDuringCustomization Property

Gets or sets if an end-user can remove Pages that belong to the current Category 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 Pages that belong to the current Category during Ribbon Runtime Customization; otherwise, false.

#Remarks

By default, Pages and PageGroups that 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 Pages within the target RibbonDefaultPageCategory/RibbonPageCategory can be customized. See the Ribbon Runtime Customization topic to learn more.

See Also