Поделиться через


ExpandCollapseState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains values that specify the ExpandCollapseState automation property value of a UI automation element.

Namespace:  System.Windows.Automation
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration ExpandCollapseState
public enum ExpandCollapseState

Members

Member name Description
Supported by Silverlight for Windows Phone Collapsed No child nodes, controls, or content of the UI automation element are displayed.
Supported by Silverlight for Windows Phone Expanded All child nodes, controls or content of the UI automation element are displayed.
Supported by Silverlight for Windows Phone PartiallyExpanded Some, but not all, child nodes, controls, or content of the UI automation element are displayed.
Supported by Silverlight for Windows Phone LeafNode 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.