AccessibilityNodeInfo.ExpandedState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the expanded state for this node. -or- Sets the expanded state of the node.
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
Property Value
The expanded state, one of:
<ul>
<li>#EXPANDED_STATE_UNDEFINED
<li>#EXPANDED_STATE_COLLAPSED
<li>#EXPANDED_STATE_FULL
<li>#EXPANDED_STATE_PARTIAL
</ul>
- Attributes
Remarks
Property getter documentation:
Gets the expanded state for this node.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.getExpandedState()
.
Property setter documentation:
Sets the expanded state of the node.
<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService
. This class is made immutable before being delivered to an android.accessibilityservice.AccessibilityService
.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.setExpandedState(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.