[]
Initializes a new instance of the C1TapHelper class.
public C1TapHelper(UIElement element, bool handledEventsToo = false)
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) |
Initializes a new instance of the C1TapHelper class which only handles Tap event and optionally DoubleTap event.
public C1TapHelper(UIElement element, bool doubleTapped, bool handledEventsToo)
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) |
Use this constructor to save memory and performance if you don't need to handle all events.