共用方式為


Page.Icon Property

Definition

Caution

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

Resource identifier for the Page's associated icon.

[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