AbsListView.SmoothScrollBy(Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
順暢地依照像素長度在毫秒內滾動。
[Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")]
public virtual void SmoothScrollBy(int distance, int duration);
[<Android.Runtime.Register("smoothScrollBy", "(II)V", "GetSmoothScrollBy_IIHandler")>]
abstract member SmoothScrollBy : int * int -> unit
override this.SmoothScrollBy : int * int -> unit
參數
- distance
- Int32
以像素為單位的滾動距離。
- duration
- Int32
捲軸動畫的持續時間以毫秒計。
- 屬性
備註
順暢地依照像素長度在毫秒內滾動。
Java 文件 android.widget.AbsListView.smoothScrollBy(int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。