Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Editor custom renderer and imeoptions

$
0
0

Hi.
I would like to add "Done" button to keyboard when, in Android, I use "Editor" control.
I use, in the customrenderer, this code
public class MyControlEditorRenderer: EditorRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs e)
{
base.OnElementChanged(e);

        if (Control != null) { 
            Control.ImeOptions = global::Android.Views.InputMethods.ImeAction.Done;

        }
    }
}

Nothing happens.
Alessandro


Viewing all articles
Browse latest Browse all 58056

Trending Articles