Core Library for WPF | ComponentOne
C1.WPF.Core Namespace / C1TapHelper Class / C1TapHelper Constructor
An System.Windows.FrameworkElement on which the tap gestures will be listened.
Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures)
Raise the Tapped event when the mouse or pen is pressed.
When set to true it uses Manipulation events to listen to the gesture, otherwise it will use Pointer events.

In This Topic
    C1TapHelper Constructor
    In This Topic
    Initializes a new instance of the C1TapHelper class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal element As FrameworkElement, _
       Optional ByVal handledEventsToo As Boolean, _
       Optional ByVal raiseTapOnPointerPressed As Boolean, _
       Optional ByVal useManipulationEvents As Boolean _
    )

    Parameters

    element
    An System.Windows.FrameworkElement on which the tap gestures will be listened.
    handledEventsToo
    Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures)
    raiseTapOnPointerPressed
    Raise the Tapped event when the mouse or pen is pressed.
    useManipulationEvents
    When set to true it uses Manipulation events to listen to the gesture, otherwise it will use Pointer events.
    See Also