Touch.ScrollTo(TextView, Layout, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的元件捲動至指定座標,但限制 X 的滾動位置為捲動至指定 Y 位置後可見的文字水平區域。
[Android.Runtime.Register("scrollTo", "(Landroid/widget/TextView;Landroid/text/Layout;II)V", "")]
public static void ScrollTo(Android.Widget.TextView? widget, Android.Text.Layout? layout, int x, int y);
[<Android.Runtime.Register("scrollTo", "(Landroid/widget/TextView;Landroid/text/Layout;II)V", "")>]
static member ScrollTo : Android.Widget.TextView * Android.Text.Layout * int * int -> unit
參數
- widget
- TextView
- layout
- Layout
- x
- Int32
- y
- Int32
- 屬性
備註
將指定的元件捲動至指定座標,但限制 X 的滾動位置為捲動至指定 Y 位置後可見的文字水平區域。
Java 文件 android.text.method.Touch.scrollTo(android.widget.TextView, android.text.Layout, int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。