[]
        
(Showing Draft Content)

C1.WinUI.Core.C1TapHelper.-ctor

C1TapHelper Constructor

C1TapHelper(FrameworkElement, bool, bool, bool)

Initializes a new instance of the C1TapHelper class.

Declaration
public C1TapHelper(FrameworkElement element, bool handledEventsToo = false, bool raiseTapOnPointerPressed = false, bool useManipulationEvents = true)
Parameters
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.