How to make a round button using Xamarin.Forms

Asked

Viewed 431 times

1

This code is not working within a Grid as a layout

<Button x:Name="btnTeste" Text="Click Me!!" Grid.Row="3" Grid.Column="1" BackgroundColor="Black" BorderRadius="50" HeightRequest="100" WidthRequest="100" TextColor="White"/>

What should I do to make it round. I tried to make a round Boxview too and could not do.

1 answer

0

The BorderRadius in XAML does it. Ex:

<Button BorderRadius="10"/>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.