UICollectionViewController.InstallsStandardGestureForInteractiveMovement 属性

定义

标准长按手势识别器是否开始单元格重新排序。

[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

属性值

默认值为 true

属性

注解

默认情况下,通过长按 (和实现 MoveItem(UICollectionView, NSIndexPath, NSIndexPath)) 触发拖放单元格位置UICollectionViewController。 不希望该行为的开发人员可以将此值设置为 false

适用于