System.Windows.Forms.ToolStripItem: Method Members

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

See Also: Inherited members from System.ComponentModel.Component

Public Methods

DoDragDrop(object, DragDropEffects) : DragDropEffects

Begins a drag-and-drop operation.

GetCurrentParent() : ToolStrip

Retrieves the System.Windows.Forms.ToolStrip that is the container of the current System.Windows.Forms.ToolStripItem.

GetPreferredSize(System.Drawing.Size) : System.Drawing.Size

Retrieves the size of a rectangular area into which a control can be fit.

Invalidate()

Invalidates the entire surface of the System.Windows.Forms.ToolStripItem and causes it to be redrawn.

Invalidate(System.Drawing.Rectangle)

Invalidates the specified region of the System.Windows.Forms.ToolStripItem by adding it to the update region of the System.Windows.Forms.ToolStripItem, which is the area that will be repainted at the next paint operation, and causes a paint message to be sent to the System.Windows.Forms.ToolStripItem.

PerformClick()

Activates the System.Windows.Forms.ToolStripItem when it is clicked with the mouse.

ResetBackColor()

This method is not relevant to this class.

ResetDisplayStyle()

This method is not relevant to this class.

ResetFont()

This method is not relevant to this class.

ResetForeColor()

This method is not relevant to this class.

ResetImage()

This method is not relevant to this class.

ResetMargin()

This method is not relevant to this class.

ResetPadding()

This method is not relevant to this class.

ResetRightToLeft()

This method is not relevant to this class.

ResetTextDirection()

This method is not relevant to this class.

Select()

Selects the item.

override
ToString() : string
Documentation for this section has not yet been entered.

Protected Methods

CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the System.Windows.Forms.ToolStripItem.

override
Dispose(bool)

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

IsInputChar(char) : bool

Determines whether a character is an input character that the item recognizes.

IsInputKey(Keys) : bool

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

OnAvailableChanged(EventArgs)

Raises the AvailableChanged event.

OnBackColorChanged(EventArgs)

Raises the ToolStripItem.BackColorChanged event.

OnBoundsChanged()

Occurs when the ToolStripItem.Bounds property changes.

OnClick(EventArgs)

Raises the ToolStripItem.Click event.

OnDisplayStyleChanged(EventArgs)

Raises the ToolStripItem.DisplayStyleChanged event.

OnDoubleClick(EventArgs)

Raises the ToolStripItem.DoubleClick event.

OnDragDrop(DragEventArgs)

Raises the ToolStripItem.DragDrop event.

OnDragEnter(DragEventArgs)

Raises the ToolStripItem.DragEnter event.

OnDragLeave(EventArgs)

Raises the ToolStripItem.DragLeave event.

OnDragOver(DragEventArgs)

Raises the ToolStripItem.DragOver event.

OnEnabledChanged(EventArgs)

Raises the ToolStripItem.EnabledChanged event.

OnFontChanged(EventArgs)

Raises the Control.FontChanged event.

OnForeColorChanged(EventArgs)

Raises the ToolStripItem.ForeColorChanged event.

OnGiveFeedback(GiveFeedbackEventArgs)

Raises the ToolStripItem.GiveFeedback event.

OnLayout(LayoutEventArgs)

Raises the Control.Layout event.

OnLocationChanged(EventArgs)

Raises the ToolStripItem.LocationChanged event.

OnMouseDown(MouseEventArgs)

Raises the ToolStripItem.MouseDown event.

OnMouseEnter(EventArgs)

Raises the ToolStripItem.MouseEnter event.

OnMouseHover(EventArgs)

Raises the ToolStripItem.MouseHover event.

OnMouseLeave(EventArgs)

Raises the ToolStripItem.MouseLeave event.

OnMouseMove(MouseEventArgs)

Raises the ToolStripItem.MouseMove event.

OnMouseUp(MouseEventArgs)

Raises the ToolStripItem.MouseUp event.

OnOwnerChanged(EventArgs)

Raises the ToolStripItem.OwnerChanged event.

OnOwnerFontChanged(EventArgs)

Raises the Control.FontChanged event when the ToolStripItem.Font property has changed on the parent of the System.Windows.Forms.ToolStripItem.

OnPaint(PaintEventArgs)

Raises the ToolStripItem.Paint event.

OnParentBackColorChanged(EventArgs)

Raises the ToolStripItem.BackColorChanged event.

OnParentChanged(ToolStrip, ToolStrip)

Raises the Control.ParentChanged event.

OnParentEnabledChanged(EventArgs)

Raises the ToolStripItem.EnabledChanged event when the ToolStripItem.Enabled property value of the item's container changes.

OnParentForeColorChanged(EventArgs)

Raises the ToolStripItem.ForeColorChanged event.

OnParentRightToLeftChanged(EventArgs)

Raises the ToolStripItem.RightToLeftChanged event.

OnQueryContinueDrag(QueryContinueDragEventArgs)

Raises the ToolStripItem.QueryContinueDrag event.

OnRightToLeftChanged(EventArgs)

Raises the ToolStripItem.RightToLeftChanged event.

OnTextChanged(EventArgs)

Raises the ToolStripItem.TextChanged event.

OnVisibleChanged(EventArgs)

Raises the ToolStripItem.VisibleChanged event.

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

Processes a dialog key.

ProcessMnemonic(char) : bool

Processes a mnemonic character.

SetBounds(System.Drawing.Rectangle)

Sets the size and location of the item.

SetVisibleCore(bool)

Sets the System.Windows.Forms.ToolStripItem to the specified visible state.