共用方式為


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

屬性值

預設值會根據鍵盤類型設定行為。

屬性

適用於