共用方式為


DialogPreference.SetNegativeButtonText(Int32) Method

Definition

[Android.Runtime.Register("setNegativeButtonText", "(I)V", "GetSetNegativeButtonText_IHandler")]
public virtual void SetNegativeButtonText (int negativeButtonTextResId);
[<Android.Runtime.Register("setNegativeButtonText", "(I)V", "GetSetNegativeButtonText_IHandler")>]
abstract member SetNegativeButtonText : int -> unit
override this.SetNegativeButtonText : int -> unit

Parameters

negativeButtonTextResId
Int32

The negative button text as a resource.

Attributes

Remarks

Java documentation for android.preference.DialogPreference.setNegativeButtonText(int).

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

See also