ToolStripMenuItem.CreateDefaultDropDown Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a generic ToolStripDropDown for which events can be defined.

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

protected override ToolStripDropDown CreateDefaultDropDown()

Return Value

Type: System.Windows.Forms.ToolStripDropDown

A generic ToolStripDropDown for which can be defined.

The CreateDefaultDropDown method is automatically called if the DropDown property finds no ToolStripDropDown associated with the ToolStripDropDownItem.

.NET Framework
Available since 2.0
Return to top