Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ExpandCollapseState Enum

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationTypes.dll

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.

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


Feedback

Was this page helpful?