共用方式為


UITextField.ClearsOnInsertion 屬性

定義

貼上作業是否應該取代現有的內容。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ClearsOnInsertion { [Foundation.Export("clearsOnInsertion")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setClearsOnInsertion:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ClearsOnInsertion : bool with get, set

屬性值

預設為 false

屬性

備註

如果 true 為 ,則會隱藏選取範圍 UI,且後置作業會取代現有的內容。

適用於