TextView.OnEditorAction(ImeAction) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アタッチされた入力メソッドが呼び出されたときに呼び出されます
InputConnection#performEditorAction(int)
InputConnection.performEditorAction() このテキスト ビューの場合は 。
[Android.Runtime.Register("onEditorAction", "(I)V", "GetOnEditorAction_IHandler")]
public virtual void OnEditorAction(Android.Views.InputMethods.ImeAction actionCode);
[<Android.Runtime.Register("onEditorAction", "(I)V", "GetOnEditorAction_IHandler")>]
abstract member OnEditorAction : Android.Views.InputMethods.ImeAction -> unit
override this.OnEditorAction : Android.Views.InputMethods.ImeAction -> unit
パラメーター
- actionCode
- ImeAction
実行されているアクションのコード。
- 属性
注釈
添付された入力メソッドがこのテキスト ビューの InputConnection#performEditorAction(int) InputConnection.performEditorAction() を呼び出すときに呼び出されます。 既定の実装では、 #setOnEditorActionListenerに指定されたアクション リスナーを呼び出すか、 EditorInfo#IME_ACTION_NEXT EditorInfo.IME_ACTION_NEXT、 EditorInfo#IME_ACTION_PREVIOUS EditorInfo.IME_ACTION_PREVIOUS、または EditorInfo#IME_ACTION_DONE EditorInfo.IME_ACTION_DONEの標準操作を実行します。
下位互換性のために、IME オプションが設定されておらず、テキスト ビューが通常は Enter にフォーカスを移動しない場合、ここで受け取った NEXT アクションと DONE アクションは、通常のキー処理を実行するために、Enter キーのダウン/アップ ペアに変わります。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
こちらもご覧ください
- <xref:Android.Widget.TextView.SetOnEditorActionListener(.IOnEditorActionListener)>