Class DoubleKeyGesture
Defines a double keyboard combination that can be used to invoke a command.
public class DoubleKeyGesture : KeyGesture
- Inheritance
-
DoubleKeyGesture
- Inherited Members
Constructors
DoubleKeyGesture(KeyGesture, KeyGesture)
Initializes a new instance of the DoubleKeyGesture class.
public DoubleKeyGesture(KeyGesture first, KeyGesture second)
Parameters
first
KeyGestureThe first gesture.
second
KeyGestureThe second gesture.
Exceptions
- ArgumentNullException
Thrown when
first
orsecond
is null.
Properties
First
Gets the first key gesture.
public KeyGesture First { get; }
Property Value
Second
Gets the second key gesture.
public KeyGesture Second { get; }
Property Value
Methods
Matches(object, InputEventArgs)
public override bool Matches(object obj, InputEventArgs inputEventArgs)
Parameters
obj
objectinputEventArgs
InputEventArgs