Class LongPressManipulatorMetadata

Defines properties and message types for LongPressManipulator.

Inherits properties and message types from InputManipulatorMetadata.

Message Types

See also MessageType
LongPressManipulatorMetadata.LongPressMessage

Occurs when the user presses a hit-testable node with a Long-Press Manipulator and holds the press for the time that you set in the Long-Press Manipulator.

You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes.

Arguments: LongPressManipulatorMetadata.LongPressMessageArguments

LongPressManipulatorMetadata.LongPressCancelMessage

Occurs during the long-press gesture when the user moves the focus away from a hit-testable node with a Long-Press Manipulator.

You cannot use this trigger with nodes that handle input by default, such as Button and Toggle Button nodes.

Arguments: LongPressManipulatorMetadata.LongPressCancelMessageArguments

Message Arguments

Message arguments classes define message arguments used for different message types. Each class defines a number of property types - arguments - together with getter and setter functions for them.

LongPressManipulatorMetadata.LongPressCancelMessageArguments

ManipulatorPointProperty
ManipulatorRayOriginProperty
ManipulatorRayDirectionProperty
HitTestPointProperty
HitTestRayOriginProperty
HitTestRayDirectionProperty
HitTestRayDistanceProperty

LongPressManipulatorMetadata.LongPressMessageArguments

ManipulatorPointProperty
ManipulatorRayOriginProperty
ManipulatorRayDirectionProperty
HitTestPointProperty
HitTestRayOriginProperty
HitTestRayDirectionProperty
HitTestRayDistanceProperty