TextView.OnSelectionChanged(Int32, Int32) 方法

定义

如果所选内容发生更改,则调用此方法,以防任何子类需要知道。

[Android.Runtime.Register("onSelectionChanged", "(II)V", "GetOnSelectionChanged_IIHandler")]
protected virtual void OnSelectionChanged(int selStart, int selEnd);
[<Android.Runtime.Register("onSelectionChanged", "(II)V", "GetOnSelectionChanged_IIHandler")>]
abstract member OnSelectionChanged : int * int -> unit
override this.OnSelectionChanged : int * int -> unit

参数

selStart
Int32

新的选择开始位置。

selEnd
Int32

新的选择结束位置。

属性

注解

如果所选内容发生更改,则调用此方法,以防任何子类需要知道。 </p>

<strong Note:</strong>> Always call the super implementation, which informs the accessibility subsystem about the selection change.

Java文档android.widget.TextView.onSelectionChanged(int, int)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于