Table of Contents

Class ManipulationGesture

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll

Defines a touch input gesture that can be used to invoke a command.

[TypeConverter(typeof(ManipulationGestureConverter))]
public class ManipulationGesture : InputGesture
Inheritance
ManipulationGesture
Inherited Members

Constructors

ManipulationGesture(ManipulationAction)

public ManipulationGesture(ManipulationAction manipulationAction)

Parameters

manipulationAction ManipulationAction

Properties

FingerCount

public int FingerCount { get; }

Property Value

int

ManipulationAction

public ManipulationAction ManipulationAction { get; }

Property Value

ManipulationAction

Methods

Matches(object, InputEventArgs)

When overridden in a derived class, determines whether the specified InputGesture matches the input associated with the specified 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.