共用方式為


IMovementMethod.OnTakeFocus 方法

定義

[Android.Runtime.Register("onTakeFocus", "(Landroid/widget/TextView;Landroid/text/Spannable;I)V", "GetOnTakeFocus_Landroid_widget_TextView_Landroid_text_Spannable_IHandler:Android.Text.Method.IMovementMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnTakeFocus (Android.Widget.TextView? widget, Android.Text.ISpannable? text, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("onTakeFocus", "(Landroid/widget/TextView;Landroid/text/Spannable;I)V", "GetOnTakeFocus_Landroid_widget_TextView_Landroid_text_Spannable_IHandler:Android.Text.Method.IMovementMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnTakeFocus : Android.Widget.TextView * Android.Text.ISpannable * Android.Views.FocusSearchDirection -> unit

參數

widget
TextView
text
ISpannable
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於