UIGestureRecognizer.AllowedPressTypes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
手势识别器响应的数组 UIPressType 。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSNumber[] AllowedPressTypes { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("allowedPressTypes", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setAllowedPressTypes:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.AllowedPressTypes : Foundation.NSNumber[] with get, set
属性值
NSNumber[]
- 属性