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

Clear button

Thread ID:





124692 Jun 23,2016 03:35 AM UTC Jun 27,2016 05:53 AM UTC Xamarin.Forms 3
Tags: SfNumericTextBox
Asked On June 23, 2016 03:35 AM UTC

I have successfully achuieved the clear button in iOS but facing trouble to add in Android. Please guide me how can i add the clear button in Android.

This works nice in iOS  
 public class TextboxRenderer : EntryRenderer
        protected override void OnElementChanged (ElementChangedEventArgs<Entry> e)
            base.OnElementChanged (e);

            if (this.Control == null) {

            var entry = this.Control as UITextField;

            entry.ClearButtonMode = UITextFieldViewMode.WhileEditing;


Hemalatha Marikumar [Syncfusion]
Replied On June 24, 2016 12:16 PM UTC

Hi Atif,

Thanks for contacting Syncfusion support.

Currently there is no direct support for achieving the clear button in Android Entry Control. We cannot provide support for customizing the Xamarin Native control. Please contact Xamarin Support team regarding this support. In Syncfusion we have a similar control named “SfAutoComplete” control which will have a Clear button and suggestions will be listed based on search. Please have the details from the below UG documentation.

Syncfusion UG Link: http://help.syncfusion.com/xamarin/sfautocomplete/getting-started

Xamarin support link with same query :  https://forums.xamarin.com/discussion/32647/entry-with-clear-button 

Hemalatha M.R 

Replied On June 24, 2016 06:43 PM UTC

Thanks and appreciated.

Vignesh V [Syncfusion]
Replied On June 27, 2016 05:53 AM UTC

Hi Atif,

Thanks for the update.

We are glad to help you on this. Please let us know if you have any other query.

Vignesh V 


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