Freigeben über


ImageButton.Source Eigenschaft

Definition

Dient zum Abrufen oder Festlegen der Quelle des Bilds, das auf der Schaltfläche angezeigt werden soll. Dies ist eine bindbare Eigenschaft.

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

Eigenschaftswert

Ein ImageSource Wert, der das Bild darstellt. Der Standardwert lautet null.

Attribute

Gilt für: