Inherit this abstract class to create a tool. Tools are similar to buttons but they also require interaction with the application's display.

The Tool..::.MouseEventArgs type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Alt
Gets a value indicating whether this Tool..::.MouseEventArgs is alt.
Button
Gets which mouse button was pressed.
(Inherited from MouseEventArgs.)
Clicks
Gets the number of times the mouse button was pressed and released.
(Inherited from MouseEventArgs.)
Control
Gets a value indicating whether this Tool..::.MouseEventArgs is control.
Delta
Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.
(Inherited from MouseEventArgs.)
Location
Gets the location of the mouse during the generating mouse event.
(Inherited from MouseEventArgs.)
ModifierKeys
Gets the modifier keys.
Shift
Gets a value indicating whether this Tool..::.MouseEventArgs is shift.
X
Gets the x-coordinate of the mouse during the generating mouse event.
(Inherited from MouseEventArgs.)
Y
Gets the y-coordinate of the mouse during the generating mouse event.
(Inherited from MouseEventArgs.)

See Also