Partager via


Dialog.InterfaceConsts.ButtonNegative Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.DialogButtonType enum directly instead of this field.

The identifier for the negative button.

[Android.Runtime.Register("BUTTON_NEGATIVE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.DialogButtonType enum directly instead of this field.", true)]
public const Android.Content.DialogButtonType ButtonNegative = -2;
[<Android.Runtime.Register("BUTTON_NEGATIVE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.DialogButtonType enum directly instead of this field.", true)>]
val mutable ButtonNegative : Android.Content.DialogButtonType

Field Value

Value = -2
Attributes

Remarks

The identifier for the negative button.

Java documentation for android.content.DialogInterface.BUTTON_NEGATIVE.

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