語言

DialogPreference.NegativeButtonTextFormatted 屬性

定義

回傳負面按鈕的文字,將在後續對話中顯示。 -或- 設定對話中負面按鈕的文字。

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

屬性值

否定按鈕的文字。

屬性

備註

財產取得者文件:

回傳負面按鈕的文字,將在後續對話中顯示。

Java 文件 android.preference.DialogPreference.getNegativeButtonText()。

屬性設定文件:

設定對話框中負面按鈕的文字。 這點會在後續對話中顯示。

Java 文件 android.preference.DialogPreference.setNegativeButtonText(java.lang.CharSequence)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於