ComponentOne FinancialChart for WPF
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 _
    )
    'Usage
     
    
    Dim element As UIElement
    Dim doubleTapped As Boolean
    Dim handledEventsToo As Boolean
     
    Dim instance As New C1TapHelper(element, doubleTapped, handledEventsToo)

    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