Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonPage.AllowRemoveFromParentDuringCustomization Property

Gets or sets if an end-user can remove the current RibbonPage during the Runtime Customization. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public bool AllowRemoveFromParentDuringCustomization { get; set; }

#Property Value

Type Description
Boolean

true, if an end-user can remove the current RibbonPage during the 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