Table of Contents

Class DoubleKeyGesture

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

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 KeyGesture

The first gesture.

second KeyGesture

The second gesture.

Exceptions

ArgumentNullException

Thrown when first or second is null.

Properties

First

Gets the first key gesture.

public KeyGesture First { get; }

Property Value

KeyGesture

Second

Gets the second key gesture.

public KeyGesture Second { get; }

Property Value

KeyGesture

Methods

Matches(object, InputEventArgs)

Determines whether this KeyGesture matches the input associated with the specified InputEventArgs object.

public override bool Matches(object obj, InputEventArgs inputEventArgs)

Parameters

obj object
inputEventArgs InputEventArgs

The input event data to compare this gesture to.

Returns

bool

true if the event data matches this KeyGesture; otherwise, false.