AccessibilityNodeInfo.ExpandedState 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該節點的擴展狀態。 -或- 設定節點的展開狀態。
public virtual Android.Views.Accessibility.ExpandedState ExpandedState { [Android.Runtime.Register("getExpandedState", "()I", "GetGetExpandedStateHandler", ApiSince=36)] get; [Android.Runtime.Register("setExpandedState", "(I)V", "GetSetExpandedState_IHandler", ApiSince=36)] set; }
[<get: Android.Runtime.Register("getExpandedState", "()I", "GetGetExpandedStateHandler", ApiSince=36)>]
[<set: Android.Runtime.Register("setExpandedState", "(I)V", "GetSetExpandedState_IHandler", ApiSince=36)>]
member this.ExpandedState : Android.Views.Accessibility.ExpandedState with get, set
屬性值
擴展狀態,其中之一:<ul<>li<#EXPANDED_STATE_UNDEFINED>li li#EXPANDED_STATE_FULL<><>#EXPANDED_STATE_COLLAPSEDli>#EXPANDED_STATE_PARTIAL</ul>
- 屬性
備註
財產取得者文件:
取得該節點的擴展狀態。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.getExpandedState()。
屬性設定文件:
設定節點的展開狀態。
<strong>注意:</strong> 不能從 android.accessibilityservice.AccessibilityService. 此類別在交付給 android.accessibilityservice.AccessibilityService之前會被設定為不可變。
Java 文件 android.view.accessibility.AccessibilityNodeInfo.setExpandedState(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。