ToolStripMenuItem.CreateDefaultDropDown 方法

定义

创建可以为其定义事件的泛型 ToolStripDropDown

protected:
 override System::Windows::Forms::ToolStripDropDown ^ CreateDefaultDropDown();
protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown ();
override this.CreateDefaultDropDown : unit -> System.Windows.Forms.ToolStripDropDown
Protected Overrides Function CreateDefaultDropDown () As ToolStripDropDown

返回

ToolStripDropDown

一个可以为其进行定义的泛型 ToolStripDropDown

注解

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

适用于