Freigeben über


Selection.MoveUp(ISpannable, Layout) Method

Definition

Move the cursor to the buffer offset physically above the current offset, to the beginning if it is on the top line but not at the start, or return false if the cursor is already on the top line.

[Android.Runtime.Register("moveUp", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")]
public static bool MoveUp (Android.Text.ISpannable? text, Android.Text.Layout? layout);
[<Android.Runtime.Register("moveUp", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "")>]
static member MoveUp : Android.Text.ISpannable * Android.Text.Layout -> bool

Parameters

text
ISpannable
layout
Layout

Returns

Attributes

Remarks

Move the cursor to the buffer offset physically above the current offset, to the beginning if it is on the top line but not at the start, or return false if the cursor is already on the top line.

Java documentation for android.text.Selection.moveUp(android.text.Spannable, android.text.Layout).

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