語言

ScrollView.ArrowScroll(FocusSearchDirection) 方法

定義

控制滑動,回應向上或向下的箭頭點擊。

[Android.Runtime.Register("arrowScroll", "(I)Z", "GetArrowScroll_IHandler")]
public virtual bool ArrowScroll(Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("arrowScroll", "(I)Z", "GetArrowScroll_IHandler")>]
abstract member ArrowScroll : Android.Views.FocusSearchDirection -> bool
override this.ArrowScroll : Android.Views.FocusSearchDirection -> bool

參數

direction
FocusSearchDirection

對應按下的方向鍵方向

傳回

如果我們消費了該事件,則為真;否則為假

屬性

備註

控制滑動,回應向上或向下的箭頭點擊。

Java 文件 android.widget.ScrollView.arrowScroll(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於