Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1TappedEventArgs Class / C1TappedEventArgs Constructor
Element where the gesture is being listened.
The UIKit.UIGestureRecognizer instance containing the event data.
if set to true the event was performed with the right button of the mouse.
if set to true the event was performed with the mouse down.


In This Topic
    C1TappedEventArgs Constructor
    In This Topic
    Initializes a new instance of the C1TappedEventArgs class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal element As UIKit.UIView, _
       ByVal originalArgs As UIKit.UIGestureRecognizer, _
       Optional ByVal isRightTapped As Boolean, _
       Optional ByVal isDown As Boolean _
    )
    'Usage
     
    
    Dim element As UIKit.UIView
    Dim originalArgs As UIKit.UIGestureRecognizer
    Dim isRightTapped As Boolean
    Dim isDown As Boolean
     
    Dim instance As New C1TappedEventArgs(element, originalArgs, isRightTapped, isDown)
    public C1TappedEventArgs( 
       UIKit.UIView element,
       UIKit.UIGestureRecognizer originalArgs,
       bool isRightTapped,
       bool isDown
    )

    Parameters

    element
    Element where the gesture is being listened.
    originalArgs
    The UIKit.UIGestureRecognizer instance containing the event data.
    isRightTapped
    if set to true the event was performed with the right button of the mouse.
    isDown
    if set to true the event was performed with the mouse down.
    See Also