Udostępnij za pośrednictwem


AccessibilityRecord.FromIndex Property

Definition

Gets the index of the first character of the changed sequence, or the beginning of a text selection or the index of the first visible item when scrolling. -or- Sets the index of the first character of the changed sequence or the beginning of a text selection or the index of the first visible item when scrolling.

public virtual int FromIndex { [Android.Runtime.Register("getFromIndex", "()I", "GetGetFromIndexHandler")] get; [Android.Runtime.Register("setFromIndex", "(I)V", "GetSetFromIndex_IHandler")] set; }
[<get: Android.Runtime.Register("getFromIndex", "()I", "GetGetFromIndexHandler")>]
[<set: Android.Runtime.Register("setFromIndex", "(I)V", "GetSetFromIndex_IHandler")>]
member this.FromIndex : int with get, set

Property Value

The index of the first character or selection start or the first visible item.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the index of the first character of the changed sequence, or the beginning of a text selection or the index of the first visible item when scrolling.

Java documentation for android.view.accessibility.AccessibilityRecord.getFromIndex().

Property setter documentation:

Sets the index of the first character of the changed sequence or the beginning of a text selection or the index of the first visible item when scrolling.

Java documentation for android.view.accessibility.AccessibilityRecord.setFromIndex(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