System.Windows.Forms.ToolStripDropDownItem Members

The members of System.Windows.Forms.ToolStripDropDownItem are listed below.

See Also: Inherited members from System.Windows.Forms.ToolStripItem

Protected Constructors

Initializes a new instance of the System.Windows.Forms.ToolStripDropDownItem class.

Initializes a new instance of the System.Windows.Forms.ToolStripDropDownItem class with the specified display text, image, and action to take when the drop-down control is clicked.

Initializes a new instance of the System.Windows.Forms.ToolStripDropDownItem class with the specified display text, image, and System.Windows.Forms.ToolStripItem collection that the drop-down control contains.

Initializes a new instance of the System.Windows.Forms.ToolStripDropDownItem class with the specified display text, image, action to take when the drop-down control is clicked, and control name.

Public Properties

DropDownToolStripDropDown.

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

DropDownDirectionToolStripDropDownDirection.

Gets or sets a value indicating the direction in which the System.Windows.Forms.ToolStripDropDownItem emerges from its parent container.

[read-only]
DropDownItemsToolStripItemCollection.

Gets the collection of items in the System.Windows.Forms.ToolStripDropDown that is associated with this System.Windows.Forms.ToolStripDropDownItem.

[read-only]
HasDropDownItemsbool.

Gets a value indicating whether the System.Windows.Forms.ToolStripDropDownItem has System.Windows.Forms.ToolStripDropDown controls associated with it.

[read-only]
override
Pressedbool.

Gets a value indicating whether the System.Windows.Forms.ToolStripDropDownItem is in the pressed state.

Protected Properties

[read-only]
DropDownLocationSystem.Drawing.Point.

Gets the screen coordinates, in pixels, of the upper-left corner of the System.Windows.Forms.ToolStripDropDownItem.

Public Methods

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject
Documentation for this section has not yet been entered.
CreateDefaultDropDown() : ToolStripDropDown

Creates a generic System.Windows.Forms.ToolStripDropDown for which events can be defined.

override
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.ToolStripDropDownItem and optionally releases the managed resources.

override
OnBoundsChanged()
Documentation for this section has not yet been entered.
OnDropDownClosed(EventArgs)

Raises the ToolStripDropDownItem.DropDownClosed event.

OnDropDownHide(EventArgs)

Raised in response to the ToolStripDropDownItem.HideDropDown method.

OnDropDownItemClicked(ToolStripItemClickedEventArgs)

Raises the ToolStripDropDownItem.DropDownItemClicked event.

OnDropDownOpened(EventArgs)

Raises the ToolStripDropDownItem.DropDownOpened event.

OnDropDownShow(EventArgs)

Raised in response to the ToolStripDropDownItem.ShowDropDown method.

override
OnFontChanged(EventArgs)

Raises the ToolStripDropDown.FontChanged event.

override
OnRightToLeftChanged(EventArgs)
Documentation for this section has not yet been entered.
override
ProcessCmdKey(ref Message, Keys) : bool
Documentation for this section has not yet been entered.
override
ProcessDialogKey(Keys) : bool

Processes a dialog key.

Public Events