Udostępnij za pośrednictwem


DialogPreference.NegativeButtonTextFormatted Property

Definition

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

public virtual Java.Lang.ICharSequence? NegativeButtonTextFormatted { [Android.Runtime.Register("getNegativeButtonText", "()Ljava/lang/CharSequence;", "GetGetNegativeButtonTextHandler")] get; [Android.Runtime.Register("setNegativeButtonText", "(Ljava/lang/CharSequence;)V", "GetSetNegativeButtonText_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getNegativeButtonText", "()Ljava/lang/CharSequence;", "GetGetNegativeButtonTextHandler")>]
[<set: Android.Runtime.Register("setNegativeButtonText", "(Ljava/lang/CharSequence;)V", "GetSetNegativeButtonText_Ljava_lang_CharSequence_Handler")>]
member this.NegativeButtonTextFormatted : Java.Lang.ICharSequence with get, set

Property Value

The text of the negative button.

Attributes

Remarks

Property getter documentation:

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

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

Property setter documentation:

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

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