語言

ImageButton.Source 屬性

定義

取得或設定圖片來源顯示在按鈕上。 這是可綁定屬性。

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

屬性值

那 ImageSource 代表影像。 預設值為 null。

屬性

適用於