[]
        
(Showing Draft Content)

C1.WPF.C1TapHelper.-ctor

C1TapHelper Constructor

C1TapHelper(UIElement, bool)

Initializes a new instance of the C1TapHelper class.

Declaration
public C1TapHelper(UIElement element, bool handledEventsToo = false)
Parameters
Type Name Description
UIElement element

An UIElement on which the tap gestures will be listened.

bool handledEventsToo

Indicates whether tap gestures will be listened despite mouse events were already handled. (It only applies to mouse gestures)

C1TapHelper(UIElement, bool, bool)

Initializes a new instance of the C1TapHelper class which only handles Tap event and optionally DoubleTap event.

Declaration
public C1TapHelper(UIElement element, bool doubleTapped, bool handledEventsToo)
Parameters
Type Name Description
UIElement element

An UIElement on which the tap gestures will be listened.

bool doubleTapped

Specifies whether elementshould listen to DoubleTap event.

bool 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.