Share via


MenuItem.Icon Property

Definition

Caution

Icon is obsolete as of 4.0.0. Please use IconImageSource instead.

Gets or sets the icon for the menu item.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("Icon is obsolete as of 4.0.0. Please use IconImageSource instead.")]
public Xamarin.Forms.FileImageSource Icon { get; set; }
member this.Icon : Xamarin.Forms.FileImageSource with get, set

Property Value

Attributes
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Applies to