Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146794 | Aug 20,2019 12:30 PM UTC | Aug 23,2019 08:54 AM UTC | Xamarin.Forms | 4 |
![]() |
Tags: SfAutoComplete |
public class CustomRendererAndroid : SfAutoCompleteRenderer
{
public CustomRendererAndroid()
{
}
protected override void OnElementChanged(ElementChangedEventArgs<Syncfusion.SfAutoComplete.XForms.SfAutoComplete> e)
{
base.OnElementChanged(e);
if (Control != null)
{
Control.FocusChanged += Control_FocusChanged;
}
}
private void Control_FocusChanged(object sender, Com.Syncfusion.Autocomplete.FocusChangedEventArgs e)
{
if (e.HasFocus)
{
if (Control != null)
{
Control.InputType = Android.Text.InputTypes.TextFlagCapCharacters;
}
}
}
} |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.