Share via


UIGestureRecognizer.Enabled Property

Definition

Whether the UIGestureRecognizer is enabled.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Enabled { [Foundation.Export("isEnabled")] get; [Foundation.Export("setEnabled:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("isEnabled")>]
[<set: Foundation.Export("setEnabled:")>]
member this.Enabled : bool with get, set

Property Value

If set to true, indicates whether the gesture recognizer is enabled. Otherwise set to false.

Attributes

Applies to