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 |