ToolStripDropDownItem.CreateDefaultDropDown Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 virtual ToolStripDropDown CreateDefaultDropDown()

Return Value

Type: System.Windows.Forms.ToolStripDropDown

The created ToolStripDropDown object.

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
Show: