Skip to main content
A newer version of this page is available. .

RibbonPageCategoryBase.AllowRemoveFromParentDuringCustomization Property

Gets or sets if an end-user can remove Pages that belong to the current Category during Runtime Customization. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Ribbon, DevExpress.Wpf.Navigation

Declaration

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 Runtime Customization; otherwise, false.

Remarks

By default, Categories, Pages and PageGroups that a RibbonControl initially contains can be removed by an end-user. You can set the AllowRemoveFromParentDuringCustomization property provided by the RibbonPageCategoryBase, RibbonPage and RibbonPageGroup objects to false to prevent this from happening. See the Runtime Customization topic to learn more.

See Also