Ejemplo n.º 1
0
        void _picker_SelectedIndexChanged(object sender, EventArgs e)
        {
            ImeFlags flag = (ImeFlags)Enum.Parse(typeof(ImeFlags), _picker.SelectedItem.ToString());

            _entry.On <Android>().SetImeOptions(flag);
            UpdateLabelText();
        }
Ejemplo n.º 2
0
        void OnSelectedIndexChanged(object sender, EventArgs e)
        {
            ImeFlags flag = (ImeFlags)Enum.Parse(typeof(ImeFlags), _picker.SelectedItem.ToString());

            _entry.On <Android>().SetImeOptions(flag);
            _label.Text = $"ImeOptions: {_entry.On<Android>().ImeOptions()}";
        }
Ejemplo n.º 3
0
        void OnSelectedIndexChanged(object sender, EventArgs e)
        {
            ImeFlags flag = (ImeFlags)Enum.Parse(typeof(ImeFlags), _picker.SelectedItem.ToString());

            _entry.On <Microsoft.Maui.Controls.PlatformConfiguration.Android>().SetImeOptions(flag);
            _label.Text = $"ImeOptions: {_entry.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().ImeOptions()}";
        }
Ejemplo n.º 4
0
 /// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific/Entry.xml" path="//Member[@MemberName='SetImeOptions'][2]/Docs" />
 public static IPlatformElementConfiguration <Android, FormsElement> SetImeOptions(this IPlatformElementConfiguration <Microsoft.Maui.Controls.PlatformConfiguration.Android, FormsElement> config, ImeFlags value)
 {
     SetImeOptions(config.Element, value);
     return(config);
 }
Ejemplo n.º 5
0
 /// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific/Entry.xml" path="//Member[@MemberName='SetImeOptions'][1]/Docs" />
 public static void SetImeOptions(BindableObject element, ImeFlags value)
 {
     element.SetValue(ImeOptionsProperty, value);
 }
Ejemplo n.º 6
0
 public static IPlatformElementConfiguration <Android, FormsElement> SetImeOptions(this IPlatformElementConfiguration <Xamarin.Forms.PlatformConfiguration.Android, FormsElement> config, ImeFlags value)
 {
     SetImeOptions(config.Element, value);
     return(config);
 }