KeyTrigger.Key 屬性

必須按下以使觸發程序觸發的按鍵。

命名空間: Microsoft.Expression.Interactivity.Input
組件: Microsoft.Expression.Interactions (在 microsoft.expression.interactions.dll 中)

語法

'宣告
Public Property Key As Key
'用途
Dim instance As KeyTrigger
Dim value As Key

value = instance.Key

instance.Key = value
public Key Key { get; set; }
public:
property Key Key {
    Key get ();
    void set (Key value);
}
/** @property */
public Key get_Key ()

/** @property */
public void set_Key (Key value)
public function get Key () : Key

public function set Key (value : Key)

執行緒安全性

此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。

另請參閱

參照

KeyTrigger 類別
KeyTrigger 成員
Microsoft.Expression.Interactivity.Input 命名空間