Share via


Tool Members

Include Protected Members
Include Inherited Members

Represents a tool that determines the mode of the designer.

The Tool type exposes the following members.

Constructors

 

Name

Description

Public method

Tool

Initializes a new instance of the Tool class.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnActivate

Called when a tool is activated.

Protected method

OnDeactivate

Called when a tool is being deactivated.

Protected method

OnItemChanged

Adds activate and deactivate semantics to the Tool class. (Overrides ContextItem.OnItemChanged(EditingContext, ContextItem).)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Protected property

Context

Gets the editing context for code within the tool.

Public property

Cursor

Gets or sets the default cursor for the mouse.

Public property

FocusedTask

Gets the currently focused task, if one exists.

Public property

ItemType

Gets the type of the tool. (Overrides ContextItem.ItemType.)

Public property

Tasks

Gets the set of tasks this tool provides.

Top

See Also

Reference

Tool Class

Microsoft.Windows.Design.Interaction Namespace