Share via


IUIGestureRecognizerDelegate Interface

Definition

This interface represents the Objective-C protocol UIGestureRecognizerDelegate.

[Foundation.Protocol(Name="UIGestureRecognizerDelegate", WrapperType=typeof(UIKit.UIGestureRecognizerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceiveTouch", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UITouch) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceiveTouch:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRecognizeSimultaneously", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizerShouldBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeRequiredToFailBy", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRequireFailureOf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldRequireFailureOfGestureRecognizer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceivePress", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIPress) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceivePress:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceiveEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIEvent) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceiveEvent:")]
public interface IUIGestureRecognizerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIGestureRecognizerDelegate", WrapperType=typeof(UIKit.UIGestureRecognizerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceiveTouch", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UITouch) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceiveTouch:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRecognizeSimultaneously", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBegin", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizerShouldBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeRequiredToFailBy", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldRequireFailureOf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIGestureRecognizer) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldRequireFailureOfGestureRecognizer:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceivePress", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIPress) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceivePress:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldReceiveEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIGestureRecognizer), typeof(UIKit.UIEvent) }, ReturnType=typeof(System.Boolean), Selector="gestureRecognizer:shouldReceiveEvent:")>]
type IUIGestureRecognizerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
ShouldBegin(UIGestureRecognizer)

Whether the gesture recognition should begin.

ShouldBeRequiredToFailBy(UIGestureRecognizer, UIGestureRecognizer)

Whether there is a dynamic failure requirement between the specified gesture recognizers.

ShouldReceiveEvent(UIGestureRecognizer, UIEvent)
ShouldReceivePress(UIGestureRecognizer, UIPress)
ShouldReceiveTouch(UIGestureRecognizer, UITouch)

Whether the recognizer should receive the specified touch.

ShouldRecognizeSimultaneously(UIGestureRecognizer, UIGestureRecognizer)

Whether the two gesture recognizers should be allowed to recognize gestures simultaneously.

ShouldRequireFailureOf(UIGestureRecognizer, UIGestureRecognizer)

Whether the specified gestureRecognizer should be required to fail by the otherGestureRecognizer.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
ShouldBegin(IUIGestureRecognizerDelegate, UIGestureRecognizer)

Whether the gesture recognition should begin.

ShouldBeRequiredToFailBy(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether there is a dynamic failure requirement between the specified gesture recognizers.

ShouldReceiveEvent(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIEvent)
ShouldReceivePress(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIPress)
ShouldReceiveTouch(IUIGestureRecognizerDelegate, UIGestureRecognizer, UITouch)

Whether the recognizer should receive the specified touch.

ShouldRecognizeSimultaneously(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether the two gesture recognizers should be allowed to recognize gestures simultaneously.

ShouldRequireFailureOf(IUIGestureRecognizerDelegate, UIGestureRecognizer, UIGestureRecognizer)

Whether the specified gestureRecognizer should be required to fail by the otherGestureRecognizer.

Applies to