ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1TapHelper Class / C1TapHelper Constructor / C1TapHelper Constructor(UIElement,Boolean,Boolean)
An Windows.UI.Xaml.UIElement on which the tap gestures will be listened.
Specifies whether elementshould listen to DoubleTap event.
Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures)

In This Topic
    C1TapHelper Constructor(UIElement,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the C1TapHelper class which only handles Tap event and optionally DoubleTap event.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal element As Windows.UI.Xaml.UIElement, _
       ByVal doubleTapped As System.Boolean, _
       ByVal handledEventsToo As System.Boolean _
    )
    public C1TapHelper( 
       Windows.UI.Xaml.UIElement element,
       System.bool doubleTapped,
       System.bool handledEventsToo
    )

    Parameters

    element
    An Windows.UI.Xaml.UIElement on which the tap gestures will be listened.
    doubleTapped
    Specifies whether elementshould listen to DoubleTap event.
    handledEventsToo
    Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures)
    Remarks
    Use this constructor to save memory and performance if you don't need to handle all events.
    See Also