The Tool type exposes the following members.

Methods

  NameDescription
Dispose
Describe which resources (e.g. file or database handles) are released or reset.
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.)
OnActivate
Occurs when the tool is set to be the current tool.
OnContextMenu
Occurs when the right mouse button is pressed when this tool is the active tool.
OnDeactivate
Occurs when the tool is no longer the current tool.
OnDoubleClick
Occurs when a mouse button is double clicked when this tool is active.
OnKeyDown
Occurs when a key on the keyboard is pressed when this tool is active.
OnKeyUp
Occurs when a key on the keyboard is released when this tool is active.
OnMouseDown
Occurs when a mouse button is pressed when this tool is active.
OnMouseMove
Occurs when the mouse is moved when this tool is active.
OnMouseUp
Occurs when a mouse button is released when this tool is active.
OnRefresh
Occurs when a screen display in the application is refreshed.
OnUpdate
Called periodically by the framework once the tool has been created.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Cursor
Sets the cursor.
Enabled
Gets or sets a value indicating whether this Tool is enabled.
Hook
Returns the reference to an IApplication object.

See Also