Compartir a través de


DialogPreference.DialogIcon Property

Definition

Returns the icon to be shown on subsequent dialogs. -or- Sets the icon of the dialog.

public virtual Android.Graphics.Drawables.Drawable? DialogIcon { [Android.Runtime.Register("getDialogIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetDialogIconHandler")] get; [Android.Runtime.Register("setDialogIcon", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDialogIcon_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getDialogIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetDialogIconHandler")>]
[<set: Android.Runtime.Register("setDialogIcon", "(Landroid/graphics/drawable/Drawable;)V", "GetSetDialogIcon_Landroid_graphics_drawable_Drawable_Handler")>]
member this.DialogIcon : Android.Graphics.Drawables.Drawable with get, set

Property Value

The icon, as a Drawable.

Attributes

Remarks

Property getter documentation:

Returns the icon to be shown on subsequent dialogs.

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

Property setter documentation:

Sets the icon of the dialog. This will be shown on subsequent dialogs.

Java documentation for android.preference.DialogPreference.setDialogIcon(android.graphics.drawable.Drawable).

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