Share via


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 は非表示になり、投稿操作によって既存のコンテンツが置き換えられます。

適用対象