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 | The type of ItemVisuals, configured on a list item prefab, to target. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |