ToolStripDropDownItem Constructor

ToolStripDropDownItem Constructor

 

Initializes a new instance of the ToolStripDropDownItem class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_protmethodToolStripDropDownItem()

Initializes a new instance of the ToolStripDropDownItem class.

System_CAPS_protmethodToolStripDropDownItem(String, Image, EventHandler)

Initializes a new instance of the ToolStripDropDownItem class with the specified display text, image, and action to take when the drop-down control is clicked.

System_CAPS_protmethodToolStripDropDownItem(String, Image, EventHandler, String)

Initializes a new instance of the ToolStripDropDownItem class with the specified display text, image, action to take when the drop-down control is clicked, and control name.

System_CAPS_protmethodToolStripDropDownItem(String, Image, ToolStripItem[])

Initializes a new instance of the ToolStripDropDownItem class with the specified display text, image, and ToolStripItem collection that the drop-down control contains.

You must derive a drop-down control from the ToolStripDropDownItem class in order to have any drop-down functionality for a ToolStripDropDownButton, ToolStripMenuItem, or ToolStripSplitButton control.

Return to top
Show:
© 2016 Microsoft