Compartilhar via


DialogPreference.PositiveButtonTextFormatted Property

Definition

Returns the text of the positive button to be shown on subsequent dialogs. -or- Sets the text of the positive button of the dialog.

public virtual Java.Lang.ICharSequence? PositiveButtonTextFormatted { [Android.Runtime.Register("getPositiveButtonText", "()Ljava/lang/CharSequence;", "GetGetPositiveButtonTextHandler")] get; [Android.Runtime.Register("setPositiveButtonText", "(Ljava/lang/CharSequence;)V", "GetSetPositiveButtonText_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getPositiveButtonText", "()Ljava/lang/CharSequence;", "GetGetPositiveButtonTextHandler")>]
[<set: Android.Runtime.Register("setPositiveButtonText", "(Ljava/lang/CharSequence;)V", "GetSetPositiveButtonText_Ljava_lang_CharSequence_Handler")>]
member this.PositiveButtonTextFormatted : Java.Lang.ICharSequence with get, set

Property Value

The text of the positive button.

Attributes

Remarks

Property getter documentation:

Returns the text of the positive button to be shown on subsequent dialogs.

Java documentation for android.preference.DialogPreference.getPositiveButtonText().

Property setter documentation:

Sets the text of the positive button of the dialog. This will be shown on subsequent dialogs.

Java documentation for android.preference.DialogPreference.setPositiveButtonText(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