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
manipulationActionManipulationAction
Properties
FingerCount
public int FingerCount { get; }
Property Value
ManipulationAction
public ManipulationAction ManipulationAction { get; }
Property Value
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
targetElementobjectThe target of the command.
inputEventArgsInputEventArgsThe input event data to compare this gesture to.