void _picker_SelectedIndexChanged(object sender, EventArgs e) { ImeFlags flag = (ImeFlags)Enum.Parse(typeof(ImeFlags), _picker.SelectedItem.ToString()); _entry.On <Android>().SetImeOptions(flag); UpdateLabelText(); }
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()}"; }
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()}"; }
/// <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); }
/// <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); }
public static IPlatformElementConfiguration <Android, FormsElement> SetImeOptions(this IPlatformElementConfiguration <Xamarin.Forms.PlatformConfiguration.Android, FormsElement> config, ImeFlags value) { SetImeOptions(config.Element, value); return(config); }