Sdílet prostřednictvím


Selection.MoveToParagraphStart(ISpannable, Layout) Method

Definition

Move the cusrot to the closest paragraph start offset.

[Android.Runtime.Register("moveToParagraphStart", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "", ApiSince=34)]
public static bool MoveToParagraphStart (Android.Text.ISpannable text, Android.Text.Layout layout);
[<Android.Runtime.Register("moveToParagraphStart", "(Landroid/text/Spannable;Landroid/text/Layout;)Z", "", ApiSince=34)>]
static member MoveToParagraphStart : 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 cusrot to the closest paragraph start offset.

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