Export (0) Print
Expand All
Expand Minimize

ToolStripItem Methods

The ToolStripItem type exposes the following members.

  Name Description
Protected method CreateAccessibilityInstance Creates a new accessibility object for the ToolStripItem.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ToolStripItem and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)
Public method DoDragDrop Begins a drag-and-drop operation.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetCurrentParent Retrieves the ToolStrip that is the container of the current ToolStripItem.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetPreferredSize Retrieves the size of a rectangular area into which a control can be fit.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Invalidate() Invalidates the entire surface of the ToolStripItem and causes it to be redrawn.
Public method Invalidate(Rectangle) Invalidates the specified region of the ToolStripItem by adding it to the update region of the ToolStripItem, which is the area that will be repainted at the next paint operation, and causes a paint message to be sent to the ToolStripItem.
Protected method IsInputChar Determines whether a character is an input character that the item recognizes.
Protected method IsInputKey Determines whether the specified key is a regular input key or a special key that requires preprocessing.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method OnAvailableChanged Raises the AvailableChanged event.
Protected method OnBackColorChanged Raises the BackColorChanged event.
Protected method OnBoundsChanged Occurs when the Bounds property changes.
Protected method OnClick Raises the Click event.
Protected method OnDisplayStyleChanged Raises the DisplayStyleChanged event.
Protected method OnDoubleClick Raises the DoubleClick event.
Protected method OnDragDrop Raises the DragDrop event.
Protected method OnDragEnter Raises the DragEnter event.
Protected method OnDragLeave Raises the DragLeave event.
Protected method OnDragOver Raises the DragOver event.
Protected method OnEnabledChanged Raises the EnabledChanged event.
Protected method OnFontChanged Raises the FontChanged event.
Protected method OnForeColorChanged Raises the ForeColorChanged event.
Protected method OnGiveFeedback Raises the GiveFeedback event.
Protected method OnLayout Raises the Layout event.
Protected method OnLocationChanged Raises the LocationChanged event.
Protected method OnMouseDown Raises the MouseDown event.
Protected method OnMouseEnter Raises the MouseEnter event.
Protected method OnMouseHover Raises the MouseHover event.
Protected method OnMouseLeave Raises the MouseLeave event.
Protected method OnMouseMove Raises the MouseMove event.
Protected method OnMouseUp Raises the MouseUp event.
Protected method OnOwnerChanged Raises the OwnerChanged event.
Protected method OnOwnerFontChanged Raises the FontChanged event when the Font property has changed on the parent of the ToolStripItem.
Protected method OnPaint Raises the Paint event.
Protected method OnParentBackColorChanged Raises the BackColorChanged event.
Protected method OnParentChanged Raises the ParentChanged event.
Protected method OnParentEnabledChanged Raises the EnabledChanged event when the Enabled property value of the item's container changes.
Protected method OnParentForeColorChanged Raises the ForeColorChanged event.
Protected method OnParentRightToLeftChanged Raises the RightToLeftChanged event.
Protected method OnQueryContinueDrag Raises the QueryContinueDrag event.
Protected method OnRightToLeftChanged Raises the RightToLeftChanged event.
Protected method OnTextChanged Raises the TextChanged event.
Protected method OnVisibleChanged Raises the VisibleChanged event.
Public method PerformClick Activates the ToolStripItem when it is clicked with the mouse.
Protected method ProcessCmdKey Processes a command key.
Protected method ProcessDialogKey Processes a dialog key.
Protected method ProcessMnemonic Processes a mnemonic character.
Public method ResetBackColor Infrastructure. This method is not relevant to this class.
Public method ResetDisplayStyle Infrastructure. This method is not relevant to this class.
Public method ResetFont Infrastructure. This method is not relevant to this class.
Public method ResetForeColor Infrastructure. This method is not relevant to this class.
Public method ResetImage Infrastructure. This method is not relevant to this class.
Public method ResetMargin Infrastructure. This method is not relevant to this class.
Public method ResetPadding Infrastructure. This method is not relevant to this class.
Public method ResetRightToLeft Infrastructure. This method is not relevant to this class.
Public method ResetTextDirection Infrastructure. This method is not relevant to this class.
Public method Select Selects the item.
Protected method SetBounds Sets the size and location of the item.
Protected method SetVisibleCore Sets the ToolStripItem to the specified visible state.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Overrides Component.ToString().)
Top

  Name Description
Explicit interface implemetation Private method IDropTarget.OnDragDrop Raises the DragDrop event.
Explicit interface implemetation Private method IDropTarget.OnDragEnter Raises the DragEnter event.
Explicit interface implemetation Private method IDropTarget.OnDragLeave Raises the DragLeave event.
Explicit interface implemetation Private method IDropTarget.OnDragOver Raises the DragOver event.
Top
Show:
© 2014 Microsoft