Home » FAQ » .NET MAUI » How do I create an image button?
To create an image button, set the ImageSource property to an image file or a vector image.
XAML:
<Button x:Name="button" ImageSource="icon.png"/>
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with