Modifica

Condividi tramite


ExpandCollapseState Enum

Definition

Contains values that specify the ExpandCollapseState of a UI Automation element.

public enum class ExpandCollapseState
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
public enum ExpandCollapseState
public enum ExpandCollapseState
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")>]
type ExpandCollapseState = 
type ExpandCollapseState = 
Public Enum ExpandCollapseState
Inheritance
ExpandCollapseState
Attributes

Fields

Name Value Description
Collapsed 0

No child nodes, controls, or content of the UI Automation element are displayed.

Expanded 1

All child nodes, controls or content of the UI Automation element are displayed.

PartiallyExpanded 2

Some, but not all, child nodes, controls, or content of the UI Automation element are displayed.

LeafNode 3

The UI Automation element has no child nodes, controls, or content to display.

Remarks

ExpandCollapseState refers to the visibility of immediate child objects only; it does not refer to the visibility of all descendant objects.

Applies to