System.Windows.Forms.ToolStripDropDownMenu Members

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

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

Public Constructors

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

Public Properties

[read-only]
override
DisplayRectangleSystem.Drawing.Rectangle.

Gets the rectangle that represents the display area of the System.Windows.Forms.ToolStripDropDownMenu.

[read-only]
override
LayoutEngineSystem.Windows.Forms.Layout.LayoutEngine. Documentation for this section has not yet been entered.
LayoutStyleToolStripLayoutStyle.

Gets or sets a value indicating how the items of System.Windows.Forms.ContextMenuStrip are displayed.

ShowCheckMarginbool.

Gets or sets a value indicating whether space for a check mark is shown on the left edge of the System.Windows.Forms.ToolStripMenuItem.

ShowImageMarginbool.

Gets or sets a value indicating whether space for an image is shown on the left edge of the System.Windows.Forms.ToolStripMenuItem.

Protected Properties

[read-only]
override
DefaultPaddingPadding.

Gets the internal spacing, in pixels, of the control.

[read-only]
override
MaxItemSizeSystem.Drawing.Size.

Gets the maximum height and width, in pixels, of the System.Windows.Forms.ContextMenuStrip.

Protected Methods

override
CreateDefaultItem(string, System.Drawing.Image, EventHandler) : ToolStripItem

Creates a default System.Windows.Forms.ToolStripMenuItem with the specified text, image, and event handler on a new System.Windows.Forms.ToolStripDropDownMenu.

override
OnFontChanged(EventArgs)

Raises the ToolStripDropDown.FontChanged event.

override
OnLayout(LayoutEventArgs)

Raises the Control.Layout event.

override
OnPaintBackground(PaintEventArgs)

Paints the background of the control.

override
SetDisplayedItems()

Resets the collection of displayed and overflow items after a layout is done.