View.ScrollIndicators 属性

定义

返回表示已启用滚动指示器的位掩码。

public virtual Android.Views.ScrollIndicatorPosition ScrollIndicators { [Android.Runtime.Register("getScrollIndicators", "()I", "GetGetScrollIndicatorsHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getScrollIndicators", "()I", "GetGetScrollIndicatorsHandler", ApiSince=23)>]
member this.ScrollIndicators : Android.Views.ScrollIndicatorPosition

属性值

表示已启用滚动指示器的位掩码

属性

注解

返回表示已启用滚动指示器的位掩码。

例如,如果启用顶部和左滚动指示器并且禁用所有其他指示器,则返回值将为 View.SCROLL_INDICATOR_TOP | View.SCROLL_INDICATOR_LEFT

若要检查底部滚动指示器是否已启用,请使用值 (getScrollIndicators() & View.SCROLL_INDICATOR_BOTTOM) != 0

适用于 . 的 android.view.View.getScrollIndicators()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于