Edit

Share via


UICollectionViewController.InstallsStandardGestureForInteractiveMovement Property

Definition

Whether the standard long-press gesture recognizer begins cell reordering.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool InstallsStandardGestureForInteractiveMovement { [Foundation.Export("installsStandardGestureForInteractiveMovement")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setInstallsStandardGestureForInteractiveMovement:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.InstallsStandardGestureForInteractiveMovement : bool with get, set

Property Value

The default value is true.

Attributes

Remarks

By default, dragging-and-dropping cell locations in a UICollectionViewController is triggered with a long press (and an implementation of MoveItem(UICollectionView, NSIndexPath, NSIndexPath)). Developers who do not want that behavior can set this value to false.

Applies to