menu on a tree view node

  • Thread starter Thread starter Ron M. Newman
  • Start date Start date
R

Ron M. Newman

Hi:

I have a treeview
The treeview has a node
the node has a contextMenuStrip
The contextMenuStrip.Items has a few items.

Goal: I want one of those items to have a submenu.

Is this possible?

Ron
 
You can add sub-menus to context menu items, like normal menus.

Hi:

I have a treeview
The treeview has a node
the node has a contextMenuStrip
The contextMenuStrip.Items has a few items.

Goal: I want one of those items to have a submenu.

Is this possible?

Ron
 
How is that done?

ContextMenuStrip.Items.Add? there is no overload that receives a menu. all I
see is "ToolStripItem" and that's not a menu.

How is a sub-menu added using ContextMenuStrip.Items.Add(.....) ?

Ron
 
You can add only a menu item to the menu, not another ContextMenuStrip.

How is that done?

ContextMenuStrip.Items.Add? there is no overload that receives a menu. all I
see is "ToolStripItem" and that's not a menu.

How is a sub-menu added using ContextMenuStrip.Items.Add(.....) ?

Ron
 
Back
Top