AccessibilityNodeInfo.GranularScrollingSupported 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
想知道節點是否支援顆粒捲動。 -或- 若節點支援顆粒捲動,則為 設定。
public virtual bool GranularScrollingSupported { [Android.Runtime.Register("isGranularScrollingSupported", "()Z", "GetIsGranularScrollingSupportedHandler", ApiSince=35)] get; [Android.Runtime.Register("setGranularScrollingSupported", "(Z)V", "GetSetGranularScrollingSupported_ZHandler", ApiSince=35)] set; }
[<get: Android.Runtime.Register("isGranularScrollingSupported", "()Z", "GetIsGranularScrollingSupportedHandler", ApiSince=35)>]
[<set: Android.Runtime.Register("setGranularScrollingSupported", "(Z)V", "GetSetGranularScrollingSupported_ZHandler", ApiSince=35)>]
member this.GranularScrollingSupported : bool with get, set
屬性值
如果所有可能支持 #ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT 的卷軸動作都做到了,那就是假。
- 屬性
備註
財產取得者文件:
想知道節點是否支援顆粒捲動。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.isGranularScrollingSupported()。
屬性設定文件:
若節點支援粒狀捲動,則為 Set。 如果所有可能支援 #ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT 的捲動動作都已啟用,則應將此設定為 true。
<strong>注意:</strong> 不能從 android.accessibilityservice.AccessibilityService. 此類別在交付給無障礙服務前會被設定為不可變。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.setGranularScrollingSupported(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。