TextView.MoveCursorToVisibleOffset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Move the cursor, if needed, so that it is at an offset that is visible to the user.
[Android.Runtime.Register("moveCursorToVisibleOffset", "()Z", "GetMoveCursorToVisibleOffsetHandler")]
public virtual bool MoveCursorToVisibleOffset ();
[<Android.Runtime.Register("moveCursorToVisibleOffset", "()Z", "GetMoveCursorToVisibleOffsetHandler")>]
abstract member MoveCursorToVisibleOffset : unit -> bool
override this.MoveCursorToVisibleOffset : unit -> bool
Returns
True if the cursor was actually moved, false otherwise.
- Attributes
Remarks
Move the cursor, if needed, so that it is at an offset that is visible to the user. This will not move the cursor if it represents more than one character (a selection range). This will only work if the TextView contains spannable text; otherwise it will do nothing.
Java documentation for android.widget.TextView.moveCursorToVisibleOffset()
.
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.