FREE TRIAL

|

☀
☾

UIBlock.RemoveGestureHandler

RemoveGestureHandler<TGesture>(UIEventHandler<TGesture>)

Unsubscribe from a gesture event previously subscribed to via AddGestureHandler<TGesture>(UIEventHandler<TGesture>, Boolean).

Declaration
public void RemoveGestureHandler<TGesture>(UIEventHandler<TGesture> gestureHandler)
    where TGesture : struct, IGestureEvent
Parameters
Type Name Description
UIEventHandler<TGesture> gestureHandler

The callback to remove from the subscription list.

Type Parameters
Name Description
TGesture

The type of gesture event to handle.

Exceptions
Type Condition
System.ArgumentNullException

If gestureHandler is null.

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