Table of Contents

Class MultiGesture

Namespace: RichCanvas.Gestures
Assembly: RichCanvas.dll

Defines a multiple gestures combination that can be used to match an input.

public class MultiGesture : InputGesture

Inheritance

objectInputGestureMultiGesture

Inherited Members

InputGesture.Matches(object, InputEventArgs), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

MultiGesture(params InputGesture[])

Constructs an instance of a RichCanvas.Gestures.MultiGesture.

public MultiGesture(params InputGesture[] gestures)

Parameters

gestures InputGesture[]

The input gestures.

Methods

Matches(object, InputEventArgs)

When overridden in a derived class, determines whether the specified System.Windows.Input.InputGesture matches the input associated with the specified System.Windows.Input.InputEventArgs object.

public override bool Matches(object targetElement, InputEventArgs inputEventArgs)

Parameters

targetElement object

The target of the command.

inputEventArgs InputEventArgs

The input event data to compare this gesture to.

Returns

bool

true if the gesture matches the input; otherwise, false.