Share via


KeyTrigger.Key Property

The key that must be pressed for the trigger to fire.

Namespace: Microsoft.Expression.Interactivity.Input
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
Public Property Key As Key
'Usage
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)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

KeyTrigger Class
KeyTrigger Members
Microsoft.Expression.Interactivity.Input Namespace