Export (0) Print
Expand All

ExpandCollapsePattern Class

Represents controls that visually expand to display content and collapse to hide content.

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

'Declaration
Public Class ExpandCollapsePattern
	Inherits BasePattern
'Usage
Dim instance As ExpandCollapsePattern

public class ExpandCollapsePattern extends BasePattern
public class ExpandCollapsePattern extends BasePattern
Not applicable.

Aggregate controls—built with child objects that provide the UI for expand/collapse functionality—must support the ExpandCollapsePattern control 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 ExpandCollapsePattern.

NoteNote:

A menu control, even though an aggregate of individual menu items, is an exception to this rule. The menu items support the ExpandCollapsePattern control pattern, but the parent menu control does not. A similar exception applies to the tree and tree item controls.

System.Object
   System.Windows.Automation.BasePattern
    System.Windows.Automation.ExpandCollapsePattern

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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