Delen via


ToolGesture Members

Include Protected Members
Include Inherited Members

Represents a tool interaction with the mouse.

The ToolGesture type exposes the following members.

Constructors

 

Name

Description

Public method

ToolGesture

Overloaded. Initializes a new instance of the ToolGesture 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.)

Public method

Matches

Returns a value indicating whether this gesture matches an input event. (Overrides InputGesture.Matches(Object, InputEventArgs).)

Protected method

MemberwiseClone

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

Public method

ToString

Returns a string that describes the gesture for diagnostic purposes. (Overrides Object.ToString().)

Top

Properties

 

Name

Description

Public property

LeftButton

Gets or sets whether this gesture is allowed to be performed while the left mouse button is pressed.

Public property

MiddleButton

Gets or sets whether if this gesture is allowed to be performed while the middle mouse button is pressed.

Public property

Modifiers

Gets or sets the modifier keys that are allowed to be pressed for this gesture.

Public property

RightButton

Gets or sets whether this gesture is allowed to be performed while the right mouse button is pressed.

Public property

ToolAction

Gets or sets the action associated with this gesture.

Public property

XButton1

Gets or sets whether this gesture is allowed to be performed while the xbutton1 mouse button is pressed.

Public property

XButton2

Gets or sets whether this gesture is allowed to be performed while the xbutton2 mouse button is pressed.

Top

See Also

Reference

ToolGesture Class

Microsoft.Windows.Design.Interaction Namespace