FREE TRIAL

|

☀
☾

UIBlock.FireGestureEvent

FireGestureEvent<TGesture>(TGesture)

Fire a gesture event on this UIBlock.

Remarks

The event will traverse up the UIBlock hierarchy until it reaches a UIBlock ancestor (inclusive of this UIBlock) with a registered event handler for the given gesture type, TGesture.

Declaration
public void FireGestureEvent<TGesture>(TGesture gestureEvent)
    where TGesture : struct, IGestureEvent
Parameters
Type Name Description
TGesture gestureEvent
Type Parameters
Name Description
TGesture

The type of gesture event to fire.

See Also
Gesture.OnClick
Gesture.OnPress
Gesture.OnRelease
Gesture.OnHover
Gesture.OnUnhover
Gesture.OnScroll
Gesture.OnMove
Gesture.OnDrag
Gesture.OnCancel
AddGestureHandler<TGesture>(UIEventHandler<TGesture>, System.Boolean)
RemoveGestureHandler<TGesture>(UIEventHandler<TGesture>)
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC