UITextView.SmartInsertDeleteType 属性

定义

获取或设置当前 UITextSmartInsertDeleteType,它控制剪切和粘贴操作如何处理空格。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextSmartInsertDeleteType SmartInsertDeleteType { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("smartInsertDeleteType", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setSmartInsertDeleteType:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.SmartInsertDeleteType : UIKit.UITextSmartInsertDeleteType with get, set

属性值

默认值根据键盘类型设置行为。

属性

适用于