System.Windows.Forms.ToolStripMenuItem: Property Members

The properties of System.Windows.Forms.ToolStripMenuItem are listed below. For a list of all members, see the ToolStripMenuItem Members list.

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

Public Properties

Checkedbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripMenuItem is checked.

CheckOnClickbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripMenuItem should automatically appear checked and unchecked when clicked.

CheckStateCheckState.

Gets or sets a value indicating whether a System.Windows.Forms.ToolStripMenuItem is in the checked, unchecked, or indeterminate state.

override
Enabledbool.

Gets or sets a value indicating whether the control is enabled.

[read-only]
IsMdiWindowListEntrybool.

Gets a value indicating whether the System.Windows.Forms.ToolStripMenuItem appears on a multiple document interface (MDI) window list.

OverflowToolStripItemOverflow.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripMenuItem is attached to the System.Windows.Forms.ToolStrip or the System.Windows.Forms.ToolStripOverflowButton or whether it can float between the two.

ShortcutKeyDisplayStringstring.

Gets or sets the shortcut key text.

ShortcutKeysKeys.

Gets or sets the shortcut keys associated with the System.Windows.Forms.ToolStripMenuItem.

ShowShortcutKeysbool.

Gets or sets a value indicating whether the shortcut keys that are associated with the System.Windows.Forms.ToolStripMenuItem are displayed next to the System.Windows.Forms.ToolStripMenuItem.

Protected Properties

[read-only]
override
DefaultMarginPadding.

Gets the spacing between the System.Windows.Forms.ToolStripMenuItem and an adjacent item.

[read-only]
override
DefaultPaddingPadding.

Gets the internal spacing within the System.Windows.Forms.ToolStripMenuItem.

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

Gets the default size of the System.Windows.Forms.ToolStripMenuItem.