BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
I am trying to remove the underline in the Syncfusion Autocomplete plugin ( or atleast make it transparent), this is my code:
[assembly: ExportRenderer(typeof(SfAutoComplete), typeof(AutoCompleteRenderer))]
namespace Pets.Droid
{
public class AutoCompleteRenderer : SfAutoCompleteRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs<SfAutoComplete> e)
{
base.OnElementChanged(e);
if (Control != null)
{
GradientDrawable gd = new GradientDrawable();
gd.SetStroke(0, Android.Graphics.Color.Transparent);
Control.SetBackground(gd);
}
}
}
}
but for some reason it wont fire, I also tried to create a custom MyAutoComplete
class that inherits from SfAutoComplete
and change the input in my XAML to local:MyAutoComplete
but same results.
Anyone see what could be the issue?