Represents controls that visually expand to display content and collapse to hide content.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
Hides all descendant nodes, controls, or content of the AutomationElement.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Displays all child nodes, controls, or content of the AutomationElement.
Frees resources and performs other cleanup operations before the object is reclaimed by garbage collection.(Inherited from BasePattern.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Aggregate controls—built with child objects that provide the UI for expand/collapse functionality—must support thecontrol pattern while their child elements do not. For example, a combo box control is built with a combination of list box, button, and edit controls, but it is only the parent combo box that must support the .
A menu control, even though an aggregate of individual menu items, is an exception to this rule. The menu items support thecontrol pattern, but the parent menu control does not. A similar exception applies to the tree and tree item controls.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.