RibbonControl.RequestReMerge() Method

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

Namespace: DevExpress.Xpf.Ribbon

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

Declaration

public virtual void RequestReMerge()
Public Overridable Sub 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