Class GestureConfigLongPress
Configuration class the Long Press gestures.
- Inheritance
-
Gesture
Config Long Press
- Inherited Members
Remarks
A longPress gesture can be composed of 1 or more fingers.
Constructors
GestureConfigLongPress()
Create a default LongPress gesture configuration.
Remarks
Single finger and 1 second long press.
Properties
MaximumTranslationDistance
The value represents the maximum distance a finger can translate during the longPress action.
Property Value
Remarks
By increasing this value, the user allows small movements of the fingers during the long press. By decreasing this value, the user forbids any movements during the long press.
Exceptions
- Argument
Out OfRange Exception The value has to be positive.
- Invalid
Operation Exception Tried to modify the configuration after it has been frozen by the system.
RequiredPressTime
The time the user has to hold his finger on the screen to trigger the gesture.
Property Value
Exceptions
- Invalid
Operation Exception Tried to modify the configuration after it has been frozen by the system.