IMenuItem.Icon Property

Definition

Returns the icon for this item as a Drawable (getting it from resources if it hasn't been loaded before).

public Android.Graphics.Drawables.Drawable? Icon { [Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetIconHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetIconHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Icon : Android.Graphics.Drawables.Drawable

Property Value

Attributes

Remarks

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