Sparkline for UWP | ComponentOne
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 UIElement, _
       ByVal doubleTapped As Boolean, _
       ByVal handledEventsToo As Boolean _
    )

    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