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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Style of Autocomplete - round corners (SerCornerRadius) do not work as expected

Thread ID:





125309 Aug 7,2016 01:06 PM UTC Aug 10,2016 01:29 PM UTC Xamarin.Forms 4
Tags: SfAutoComplete
Thomas Bomberg
Asked On August 7, 2016 01:06 PM UTC


I use round corners for all text controls in the application:


For doing this I created renderes for Entry and Picker controls (in Android part of the solution) and overrided OnElementChanged method:

base.OnElementChanged( args );

if ( Control != null ) 
GradientDrawable gd = new GradientDrawable();
gd.SetCornerRadius (10);
gd.SetStroke (2, Color.Gray.ToAndroid());

When I did the same for SfAutoComplete control it does not work as expected (it renders both rectangle and round corners):


Please suggest what should be done to have the same style as entry and picker.

Thomas Bomberg
Replied On August 8, 2016 11:23 AM UTC

Entry and Picker with style applied

Autocomplete with style applied

Pavendhan Kumar [Syncfusion]
Replied On August 8, 2016 12:13 PM UTC

Hi Thomas,

Thank you for contacting Syncfusion support.

Query: Round Corners on AutoComplete

From given code snippets we have created a sample using SfAutoComplete as per your requirement (“Rounded Corners”) . Please download the same from the below mentioned link.

Link: http://www.syncfusion.com/downloads/support/forum/125309/ze/AutoComplete_125309-1810364687  

Pavendhan K. 

Thomas Bomberg
Replied On August 9, 2016 08:26 PM UTC

Thanks a lot, it works fine!

Pavendhan Kumar [Syncfusion]
Replied On August 10, 2016 01:29 PM UTC

Hi Thomas,

Thanks for your update.

We are glad to hear that you have achieved your requirement. Please let us know if you need any further assistance.

Pavendhan K.


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