共用方式為


Image.Source Property

Definition

Gets or sets the source of the image. This is a bindable property.

public:
 property Microsoft::Maui::Controls::ImageSource ^ Source { Microsoft::Maui::Controls::ImageSource ^ get(); void set(Microsoft::Maui::Controls::ImageSource ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ImageSourceConverter))]
public Microsoft.Maui.Controls.ImageSource Source { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ImageSourceConverter))>]
member this.Source : Microsoft.Maui.Controls.ImageSource with get, set
Public Property Source As ImageSource

Property Value

An ImageSource representing the image source. Default is null.

Attributes

Applies to