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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Circle Image Diameter

Thread ID:





143923 Apr 10,2019 06:13 PM UTC Apr 11,2019 10:10 AM UTC Xamarin.Forms 1
Tags: SfBorder
Dean Martin
Asked On April 10, 2019 06:13 PM UTC

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.


Bharathiraja K [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon