ImageButton.Source Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar eller anger källan till bilden som ska visas på knappen. Det här är en bindbar egenskap.
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
Egenskapsvärde
En ImageSource som representerar bilden. Standardvärdet är null.
- Attribut