[]
Initializes a new instance of the C1TapHelper class.
public C1TapHelper(FrameworkElement element, bool handledEventsToo = false, bool raiseTapOnPointerPressed = false, bool useManipulationEvents = true)
Type | Name | Description |
---|---|---|
FrameworkElement | element | An Microsoft.UI.Xaml.FrameworkElement on which the tap gestures will be listened. |
bool | handledEventsToo | Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures) |
bool | raiseTapOnPointerPressed | Raise the Tapped event when the mouse or pen is pressed. |
bool | useManipulationEvents | When set to true it uses Manipulation events to listen to the gesture, otherwise it will use Pointer events. |