Export (0) Print
Expand All
Expand Minimize

ExpandCollapseState Enumeration

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

Namespace: System.Windows.Automation
Assembly: UIAutomationTypes (in uiautomationtypes.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[ComVisibleAttribute(true)] 
[GuidAttribute("76d12d7e-b227-4417-9ce2-42642ffa896a")] 
public enum ExpandCollapseState
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("76d12d7e-b227-4417-9ce2-42642ffa896a") */ 
public enum ExpandCollapseState
ComVisibleAttribute(true) 
GuidAttribute("76d12d7e-b227-4417-9ce2-42642ffa896a") 
public enum ExpandCollapseState

 Member nameDescription
CollapsedNo child nodes, controls, or content of the UI Automation element are displayed.  
ExpandedAll child nodes, controls or content of the UI Automation element are displayed.  
LeafNodeThe UI Automation element has no child nodes, controls, or content to display.  
PartiallyExpandedSome, but not all, child nodes, controls, or content of the UI Automation element are displayed.  

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft