MouseAction Methods

Include Protected Members
Include Inherited Members

The MouseAction type exposes the following members.

Methods

  Name Description
Public method Activate Activates the mouse action.
Public method CanCancel Gets the mouse action and verifies whether it can be canceled.
Public method Cancel Cancels the mouse action.
Public method CanComplete Gets the mouse action and verifies whether it can be completed.
Protected method CaptureMouse Gets the mouse action.
Public method Click Performs actions for derived classes when the mouse is clicked.
Public method Complete Completes the mouse action.
Public method ContextMenuRequested Sends a request for the shortcut menu.
Public method Dispose() Releases all resources used by the MouseAction.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the MouseAction and optionally releases the managed resources.
Public method DoPaintFeedback Paints the feedback for the mouse action.
Public method DoubleClick Performs actions for derived classes when a user double-clicks the mouse.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Finalizes the mouse action but does not dispose it. (Overrides Object.Finalize.)
Public method GetCursor Gets the pointer to display for the mouse.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetTooltipText Gets the tooltip text for an item on the diagram.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GotFocus Assigns the focus to the mouse action.
Protected method Invalidate Invalidates the feedback from the mouse action.
Public method LostFocus Removes focus from the mouse action.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MouseDown Performs actions for derived classes when a user clicks the mouse.
Public method MouseEnter Performs actions for derived classes when the mouse points to a shape in the diagram.
Public method MouseHover Performs actions for derived classes when the user points to an area or an element in the diagram.
Public method MouseLeave Performs actions for derived classes when the mouse no longer points to the shape in the diagram.
Public method MouseMove Performs actions for derived classes when the user moves the mouse over the diagram.
Public method MouseUp Performs actions for derived classes when the user releases the mouse button.
Public method MouseWheel Performs actions for derived classes when the user rotates the mouse wheel.
Protected method OnClicked Alerts listeners that the user has clicked the mouse.
Protected method OnContextMenuRequested Alerts listeners that the user has requested the shortcut menu.
Protected method OnDiagramGotFocus Alerts listeners that the diagram has the focus.
Protected method OnDiagramLostFocus Called when a LostFocus event has been dispatched to this MouseAction.
Protected method OnDiagramScrolled Alerts listeners that the user has scrolled the diagram.
Protected method OnDoubleClick Alerts listeners that the user has double-clicked the mouse.
Protected method OnDragCanceled Alerts listeners that the drag operation has been canceled.
Protected method OnDragCompleted Alerts listeners that the drag operation has been completed.
Protected method OnDraggingBegun Alerts listeners that the drag operation has begun.
Protected method OnDraggingEnded Alerts listeners that the drag operation has ended.
Protected method OnDragPendingBegun Alerts listeners that the drag operation is pending.
Protected method OnDragPendingEnded Alerts listeners that the drag operation is no longer pending.
Protected method OnHoveringBegun Alerts listeners that the mouse is hovering over the diagram.
Protected method OnHoveringEnded Alerts listeners that the mouse is no longer hovering over the diagram.
Protected method OnMouseActionActivated Alerts listeners that the mouse action has begun.
Protected method OnMouseActionCanceled Alters listeners that the mouse action has been canceled.
Protected method OnMouseActionCompleted Alerts listeners that the mouse action has completed.
Protected method OnMouseActionDeactivated Alerts listeners that the mouse action has been deactivated.
Protected method OnMouseDown Alerts listeners that the mouse has been clicked.
Protected method OnMouseEnter Alerts listeners that the mouse has moved over a shape in the diagram.
Protected method OnMouseHover Alerts listeners that the mouse is pointing to an area or an element in the diagram.
Protected method OnMouseLeave Alerts listeners that the mouse is no longer over the shape in the diagram.
Protected method OnMouseMove Alerts listeners that the mouse has been moved over the diagram.
Protected method OnMouseUp Alerts listeners that the user has released the mouse button.
Protected method OnMouseWheel Alerts listeners that the user has rotated the mouse wheel.
Protected method ReleaseMouse Alerts listeners that the user has released the mouse button.
Public method Scrolled Alerts listeners that the user has scrolled the diagram.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace