FREE TRIAL

|

☀
☾

ListView.RemoveGestureHandler

RemoveGestureHandler<TEvent, TVisuals>(UIEventHandler<TEvent, TVisuals, int>)

Unsubscribe from a gesture event previously subscribed to via AddGestureHandler<TEvent, TVisuals>(UIEventHandler<TEvent, TVisuals, Int32>)

Declaration
public void RemoveGestureHandler<TEvent, TVisuals>(UIEventHandler<TEvent, TVisuals, int> eventHandler)
    where TEvent : struct, IGestureEvent where TVisuals : ItemVisuals
Parameters
Type Name Description
UIEventHandler<TEvent, TVisuals, int> eventHandler

The callback to remove from the subscription list

Type Parameters
Name Description
TEvent

The type of gesture event to handle for list items of type TVisuals

TVisuals

The type of ItemVisuals, configured on a list item prefab, to target.

Exceptions
Type Condition
System.ArgumentNullException

If eventHandler is null.

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