How do I create an image button?

Platform: .NET MAUI| Category: Controls

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"/>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.