InputGesture 類別

定義

描述輸入裝置筆勢的抽象類別。

public ref class InputGesture abstract
public abstract class InputGesture
type InputGesture = class
Public MustInherit Class InputGesture
繼承
InputGesture
衍生

備註

Windows Presentation Foundation 中的 實InputGesture作為 KeyGestureMouseGesture

輸入手勢可以與命令相關聯,以便在執行手勢時叫用命令。 如需詳細資訊,請參閱 InputBinding命令概觀

建構函式

InputGesture()

初始化 InputGesture 類別的新執行個體。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Matches(Object, InputEventArgs)

在衍生類別中覆寫時,判斷指定的 InputGesture 是否符合與指定之 InputEventArgs 物件相關聯的輸入。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱