Articles in this section
Category / Section

How to perform menu merging operation between docking windows in MDI child form and the main form in WinForms Docking Manager?

1 min read

Merging operation between two docking windows

For doing this the XPMenu has to be hosted on a main form. The ChildFrameBarManager and other menu components in the docking window has to be merged with the main form's menus after a state transition into MDI child form. then they have to be registered with the main form's MainFrameBarManager to perform menu merging. Please refer the below code snippet which illustrates this:

C#

this.mainFrameBarManager1.RegisterMdiChildTypes(new Type[] { typeof(Form2) });

 

VB

Me.MainFrameBarManager1.RegisterMdiChildTypes(New Type() {GetType(Form2)})

Reference links:

  1. https://help.syncfusion.com/windowsforms/dockingmanager/dock-window
  2. https://help.syncfusion.com/windowsforms/dockingmanager/mdi-window
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied