KeyGesture Class
Defines a keyboard input combination.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class KeyGesture : IEquatable<KeyGesture>,
IFormattable
Public NotInheritable Class KeyGesture
Implements IEquatable(Of KeyGesture), IFormattable
[<SealedAttribute>]
type KeyGesture =
class
interface IEquatable<KeyGesture>
interface IFormattable
end
Inheritance | Object → KeyGesture |
Implements | IEquatable(KeyGesture), IFormattable |
Constructors
KeyGesture(Key, KeyModifiers) | Initializes a new instance of the KeyGesture class |
Properties
Key | |
KeyModifiers |
Methods
Equals(KeyGesture) | |
Equals(Object) | (Overrides Object.Equals(Object)) |
GetHashCode() | (Overrides Object.GetHashCode()) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
Matches(KeyEventArgs) | |
Parse(String) | |
ToString() | (Overrides Object.ToString()) |
ToString(String, IFormatProvider) | Returns the current KeyGesture as a string formatted according to the format string and appropriate IFormatProvider |
Operators
Equality(KeyGesture, KeyGesture) | |
Inequality(KeyGesture, KeyGesture) |