Expand​Collapse​Pattern​Identifiers Expand​Collapse​Pattern​Identifiers Expand​Collapse​Pattern​Identifiers Class


Contains values used as identifiers by IExpandCollapseProvider.

public : sealed class ExpandCollapsePatternIdentifiers : IExpandCollapsePatternIdentifierspublic sealed class ExpandCollapsePatternIdentifiers : IExpandCollapsePatternIdentifiersPublic NotInheritable Class ExpandCollapsePatternIdentifiers Implements IExpandCollapsePatternIdentifiers
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Classes such as ExpandCollapsePatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for IExpandCollapseProvider in its GetPattern implementation. These identifiers are needed for the RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for FindItemByProperty in an items container peer.

This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the Microsoft UI Automation tree. IExpandCollapseProvider is also presented as a Component Object Model (COM) interface.


ExpandCollapseStateProperty ExpandCollapseStateProperty ExpandCollapseStateProperty

Identifies the ExpandCollapseState automation property.

public : static AutomationProperty ExpandCollapseStateProperty { get; }public static AutomationProperty ExpandCollapseStateProperty { get; }Public Static ReadOnly Property ExpandCollapseStateProperty As AutomationProperty
AutomationProperty AutomationProperty AutomationProperty

The automation property identifier.


See Also