After adding a RibbonControlAdv, ToolStripTabItems and ToolStripEx in the parent ribbonform, add a RibbonPanelMergeContainer to the ChildForm. ToolStripEx can be added into this by right Clicking on it.
Now add this ChildForm to the RibbonForm that is the MDIParent of the childForm.
ChildForm frm = new ChildForm();
frm.MdiParent = this;
Dim frm As ChildForm = New ChildForm()
frm.MdiParent = Me
Note:The MDIParent Ribbonform should host a RibbonControlAdv to get the ChildForm's panels to be merged.
Run the sample to view the ChildForm and the RibbonPanel merged with the RibboncontrolAdv in the ParentForm.
Without a single line of coding, the RibbonPanel in the ChildForm will get merged with its ParentForm.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|