KeyGesture Members
A keyboard combination that you can use to invoke a command.Constructors
Name | Description |
---|---|
KeyGesture(VirtualKey, ModifierKeys) | Initializes a new instance of the KeyGesture class with specified settings. |
KeyGesture(VirtualKey) | Initializes a new instance of the KeyGesture class with specified settings. |
Properties
Name | Description |
---|---|
Key | Gets the key associated with this KeyGesture. |
ModifierKeys | Gets the modifier keys associated with this KeyGesture. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
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. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Operators
Name |
---|
Implicit(String to KeyGesture) static |
See Also