Redigera

Dela via


InputGesture Class

Definition

Abstract class that describes input device gestures.

public ref class InputGesture abstract
public abstract class InputGesture
type InputGesture = class
Public MustInherit Class InputGesture
Inheritance
InputGesture
Derived

Remarks

Implementations of InputGesture in Windows Presentation Foundation are KeyGesture and MouseGesture.

An input gesture can be associated with a command so that when the gesture is performed the command is invoked. For more information, see InputBinding and the Commanding Overview.

Constructors

InputGesture()

Initializes a new instance of the InputGesture class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Matches(Object, InputEventArgs)

When overridden in a derived class, determines whether the specified InputGesture matches the input associated with the specified InputEventArgs 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)

Applies to

See also