Compartir a través de


TextView.HintFormatted Property

Definition

Returns the hint that is displayed when the text of the TextView is empty. -or- Sets the text to be displayed when the text of the TextView is empty.

public Java.Lang.ICharSequence? HintFormatted { [Android.Runtime.Register("getHint", "()Ljava/lang/CharSequence;", "GetGetHintHandler")] get; [Android.Runtime.Register("setHint", "(Ljava/lang/CharSequence;)V", "")] set; }
[<get: Android.Runtime.Register("getHint", "()Ljava/lang/CharSequence;", "GetGetHintHandler")>]
[<set: Android.Runtime.Register("setHint", "(Ljava/lang/CharSequence;)V", "")>]
member this.HintFormatted : Java.Lang.ICharSequence with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the hint that is displayed when the text of the TextView is empty.

Java documentation for android.widget.TextView.getHint().

Property setter documentation:

Sets the text to be displayed when the text of the TextView is empty. Null means to use the normal empty text. The hint does not currently participate in determining the size of the view.

Java documentation for android.widget.TextView.setHint(java.lang.CharSequence).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to