[]
        
(Showing Draft Content)

C1.iOS.Core.C1TappedEventArgs.-ctor

C1TappedEventArgs Constructor

C1TappedEventArgs(UIView, UIGestureRecognizer, bool, bool)

Initializes a new instance of the C1TappedEventArgs class.

Declaration
public C1TappedEventArgs(UIView element, UIGestureRecognizer originalArgs, bool isRightTapped = false, bool isDown = true)
Public Sub New(element As UIView, originalArgs As UIGestureRecognizer, Optional isRightTapped As Boolean = False, Optional isDown As Boolean = True)
Parameters
Type Name Description
UIView element

Element where the gesture is being listened.

UIGestureRecognizer originalArgs

The UIKit.UIGestureRecognizer instance containing the event data.

bool isRightTapped

if set to true the event was performed with the right button of the mouse.

bool isDown

if set to true the event was performed with the mouse down.

C1TappedEventArgs(UIView, UIGestureRecognizer, C1PointerDeviceType, bool, bool)

Initializes a new instance of the C1TappedEventArgs class.

Declaration
public C1TappedEventArgs(UIView element, UIGestureRecognizer originalArgs, C1PointerDeviceType pointerType, bool isRightTapped = false, bool isDown = true)
Public Sub New(element As UIView, originalArgs As UIGestureRecognizer, pointerType As C1PointerDeviceType, Optional isRightTapped As Boolean = False, Optional isDown As Boolean = True)
Parameters
Type Name Description
UIView element

Element where the gesture is being listened.

UIGestureRecognizer originalArgs

The UIKit.UIGestureRecognizer instance containing the event data.

C1PointerDeviceType pointerType

the type of event that originated the gesture.

bool isRightTapped

if set to true the event was performed with the right button of the mouse.

bool isDown

if set to true the event was performed with the mouse down.