Articles in this section
Category / Section

What is the reason for MDIListMenuItem property does not work with VS 2005 MenuStrip component in WinForms TabbedMDIManager?

1 min read

Reason for MDIListMenuItem does not work with menu strip component

TabbedMDIManager.MDIListMenuItem uses System.Windows.Forms.MenuItem for its implementation. Since .Net 2.0 MenuStrip uses System.Windows.Forms.ToolStripMenuItem, so it is not possible to associate TabbedMDIManager.MDIListMenuItem (MenuItem) to ToolStripMenuItem. But this can be achieved by TabbedMDIManager.MDIListToolStripItem. Please refe the below code snippet which illustrates this:

C#

this.tabbedMDIManager.MDIListToolStripItem = this.openToolStripItem;

VB

Me.tabbedMDIManager.MDIListToolStripItem = Me.openToolStripItem

 

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