共用方式為


UITextField.Placeholder 屬性

定義

這個屬性代表在檢視中沒有文字時要顯示的文字。

public virtual string Placeholder { [Foundation.Export("placeholder", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setPlaceholder:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Placeholder : string with get, set

屬性值

屬性

適用於