Milèstre BV
Jan 24, 2019

Position Image at Xamarin Button


With the property ContentLayout you are able to position the image within the button.

Bottom 3

Indicates that the image will appear at the bottom edge of the button.

Left 0

Indicates that the image will appear at the left edge of the button.

Right 2

Indicates that the image will appear at the right edge of the button.

Top 1

Indicates that the image will appear at the top edge of the button.


Usage: <Button BackgroundColor="OrangeColor" Image="save.png" Text="Save" ContentLayout="Right,10">

This will position the image at the right side of the button.