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 属性许可证中所述的术语使用。

适用于