I'm trying to make a circle shaped button and i can't manage to set its height to be the same as its width. Here's the code i tried:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MozaikMuzeum_Xamarin.View.CatalogPage" Title="Katalógus" BackgroundColor="White">
<ContentPage.Content>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="100" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="100" />
</Grid.ColumnDefinitions>
<Button Text="Ajánló"
Grid.Row="0" Grid.Column="0"
TextColor="Black"
x:Name="Button"
BindingContext="{x:Reference Name=Button}"
BorderWidth="4"
BorderColor="Black"
BackgroundColor="#FFF"
BorderRadius="50"
HeightRequest="{Binding Width}"
>
</Button>
</Grid>
</ContentPage.Content>
</ContentPage>