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

RibbonControl.RequestReMerge() Method

In This Article

Updates the info about ribbon items and then re-merges the ribbon.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public virtual void RequestReMerge()

#Remarks

You should use the method to update a parent Ribbon Control when you add a ribbon item into the merged child Ribbon Control.

The following code sample adds the Item BarButtonItem and re-merges the _ribbon RibbonControl:

private void AddExecute() {  
    //...  
    group.Items.Add(new BarButtonItem() { Content = "Item" });  
    _ribbon.RequestReMerge();  
}  
See Also