InputGesture 类

定义

描述输入设备手势的抽象类。

public ref class InputGesture abstract
public abstract class InputGesture
type InputGesture = class
Public MustInherit Class InputGesture
继承
InputGesture
派生

注解

InputGesture Windows Presentation Foundation 中的实现是KeyGestureMouseGesture

输入手势可以与命令相关联,以便在执行手势时调用该命令。 有关详细信息,请参阅InputBinding命令概述

构造函数

名称 说明
InputGesture()

初始化 InputGesture 类的新实例。

方法

名称 说明
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
Matches(Object, InputEventArgs)

在派生类中重写时,确定指定的 InputGesture 值是否与与指定 InputEventArgs 对象关联的输入匹配。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅