System.Windows.Forms.ToolStripDropDownItem Class

Provides basic functionality for controls that display a System.Windows.Forms.ToolStripDropDown when a System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms.ToolStripMenuItem, or System.Windows.Forms.ToolStripSplitButton control is clicked.

See Also: ToolStripDropDownItem Members

Syntax

[System.ComponentModel.Designer("System.Windows.Forms.Design.ToolStripMenuItemDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")]
[System.ComponentModel.DefaultProperty("DropDownItems")]
public abstract class ToolStripDropDownItem : ToolStripItem

Remarks

System.Windows.Forms.ToolStripDropDownItem is the abstract base class for System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms.ToolStripDropDownButton, and System.Windows.Forms.ToolStripSplitButton, which can host items directly or host additional items in a drop-down container. You do this by setting the ToolStripDropDownItem.DropDown property to a System.Windows.Forms.ToolStripDropDown and setting the ToolStrip.Items property of the System.Windows.Forms.ToolStripDropDown. Access these drop-down items directly through the ToolStripDropDownItem.DropDownItems property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0