We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Circle Image Diameter

Based on the documentation for a circle image:
<Grid HeightRequest="100" WidthRequest="100" HorizontalOptions="Center" VerticalOptions="Center">
    <border:SfBorder BorderColor="Black" HorizontalOptions="Center" VerticalOptions="Center" CornerRadius="50">
        <Image Source="plus.jpeg" />
How would I adjust the diameter of the circle?  No matter what I do, the circle is always a fixed size.


1 Reply

BK Bharathiraja K Syncfusion Team April 11, 2019 10:10 AM UTC

Hi Dean Martin, 
Thanks for using Syncfusion products.  
In the provided code snippet, you have set that height and width as 100 for the grid and the same value is applied to control. Hence, you were not able to increase the circle diameter further.   
Code Snippet: 
<Grid HeightRequest="200" WidthRequest="200" HorizontalOptions="Center" VerticalOptions="Center"> 
            <RowDefinition Height="0.1*"/> 
        <border:SfBorder x:Name="border" BorderColor="Black" CornerRadius="50" HorizontalOptions="Center" VerticalOptions="Center">  
            <Image Source="button.png" /> 
        <Slider Margin="0,10,0,0" Grid.Row="1" x:Name="silder" Minimum="0" Maximum="1" MaximumTrackColor="Green" MinimumTrackColor="Green" ValueChanged="Silder_ValueChanged"/> 
So, we have prepared the sample based on your requirement and it can be downloaded from the below link. 

Live Chat Icon For mobile
Up arrow icon