共用方式為


TextView.ImeOptions Property

Definition

Get the type of the Input Method Editor (IME). -or- Change the editor type integer associated with the text view, which is reported to an Input Method Editor (IME) with EditorInfo#imeOptions when it has focus.

public virtual Android.Views.InputMethods.ImeAction ImeOptions { [Android.Runtime.Register("getImeOptions", "()I", "GetGetImeOptionsHandler")] get; [Android.Runtime.Register("setImeOptions", "(I)V", "GetSetImeOptions_IHandler")] set; }
[<get: Android.Runtime.Register("getImeOptions", "()I", "GetGetImeOptionsHandler")>]
[<set: Android.Runtime.Register("setImeOptions", "(I)V", "GetSetImeOptions_IHandler")>]
member this.ImeOptions : Android.Views.InputMethods.ImeAction with get, set

Property Value

the type of the IME

Attributes

Remarks

Property getter documentation:

Get the type of the Input Method Editor (IME).

Java documentation for android.widget.TextView.getImeOptions().

Property setter documentation:

Change the editor type integer associated with the text view, which is reported to an Input Method Editor (IME) with EditorInfo#imeOptions when it has focus.

Java documentation for android.widget.TextView.setImeOptions(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also