Compartir a través de


BaseMovementMethod.Top(TextView, ISpannable) Method

Definition

Performs a top movement action.

[Android.Runtime.Register("top", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetTop_Landroid_widget_TextView_Landroid_text_Spannable_Handler")]
protected virtual bool Top (Android.Widget.TextView? widget, Android.Text.ISpannable? buffer);
[<Android.Runtime.Register("top", "(Landroid/widget/TextView;Landroid/text/Spannable;)Z", "GetTop_Landroid_widget_TextView_Landroid_text_Spannable_Handler")>]
abstract member Top : Android.Widget.TextView * Android.Text.ISpannable -> bool
override this.Top : Android.Widget.TextView * Android.Text.ISpannable -> bool

Parameters

widget
TextView

The text view.

buffer
ISpannable

The text buffer.

Returns

True if the event was handled.

Attributes

Remarks

Performs a top movement action. Moves the cursor or scrolls to the top of the buffer.

Java documentation for android.text.method.BaseMovementMethod.top(android.widget.TextView, android.text.Spannable).

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