共用方式為


Spinner.PromptFormatted Property

Definition

Sets the prompt to display when the dialog is shown.

public virtual Java.Lang.ICharSequence? PromptFormatted { [Android.Runtime.Register("getPrompt", "()Ljava/lang/CharSequence;", "GetGetPromptHandler")] get; [Android.Runtime.Register("setPrompt", "(Ljava/lang/CharSequence;)V", "GetSetPrompt_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getPrompt", "()Ljava/lang/CharSequence;", "GetGetPromptHandler")>]
[<set: Android.Runtime.Register("setPrompt", "(Ljava/lang/CharSequence;)V", "GetSetPrompt_Ljava_lang_CharSequence_Handler")>]
member this.PromptFormatted : Java.Lang.ICharSequence with get, set

Property Value

The prompt to display when the dialog is shown

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.Spinner.getPrompt().

Property setter documentation:

Sets the prompt to display when the dialog is shown.

Java documentation for android.widget.Spinner.setPrompt(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