System.Windows.Forms.ToolStripDropDownItem.DropDown Property

Gets or sets the System.Windows.Forms.ToolStripDropDown that will be displayed when this System.Windows.Forms.ToolStripDropDownItem is clicked.

Syntax

[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))]
public ToolStripDropDown DropDown { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If no System.Windows.Forms.ToolStripDropDown is associated with the System.Windows.Forms.ToolStripDropDownItem, a call to ToolStripDropDownItem.CreateDefaultDropDown creates a generic drop-down control.

Note:

If a drop-down control is automatically generated, which means that items are added to the collection, and you then set the ToolStripDropDownItem.DropDown property to an explicit drop-down control, you might lose data.

Requirements

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