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

RibbonControl.RequestReMerge() Method

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

Namespace: DevExpress.Xpf.Ribbon

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

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