Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1TapHelper Class / C1TapHelper Constructor / C1TapHelper Constructor(UIElement,Boolean,Boolean)
An System.Windows.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 System.Windows.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