Freigeben über


Selection.MoveToParagraphEnd(ISpannable, Layout) Method

Definition

Move the cursor to the closest paragraph end offset.

[Android.Runtime.Register("moveToParagraphEnd", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "", ApiSince=34)]
public static bool MoveToParagraphEnd (Android.Text.ISpannable text, Android.Text.Layout layout);
[<Android.Runtime.Register("moveToParagraphEnd", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "", ApiSince=34)>]
static member MoveToParagraphEnd : Android.Text.ISpannable * Android.Text.Layout -> bool

Parameters

text
ISpannable

the spannable text

layout
Layout

layout to be used for drawing.

Returns

true if the cursor is moved, otherwise false.

Attributes

Remarks

Move the cursor to the closest paragraph end offset.

Java documentation for android.text.Selection.moveToParagraphEnd(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