Control Pattern Interfaces for Clients

This section describes control pattern interfaces for UI Automation clients for Microsoft Win32 applications.

Interfaces

IUIAutomationDockPattern

Exposes properties and methods for the dock control pattern.

IUIAutomationExpandCollapsePattern

Exposes properties and methods that Microsoft UI Automation clients use to access elements that visually expand to display content and collapse to hide content.

IUIAutomationGridItemPattern

Exposes properties and methods of a UI Automation element that represents a child control of a container that supports the IUIAutomationGridPattern interface.

IUIAutomationGridPattern

Exposes properties and methods of a UI Automation element that represents a control that acts as a container for a collection of child elements. The children of this element support the IUIAutomationGridItemPattern interface and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

IUIAutomationInvokePattern

Exposes a method that enables the action of a control (typically a button) to be invoked.

IUIAutomationItemContainerPattern

Exposes a method that retrieves an item from a container, such as a virtual list.

IUIAutomationLegacyIAccessiblePattern

Exposes methods and properties that enable UI Automation clients to retrieve UI information from Microsoft Active Accessibility (MSAA) servers.

IUIAutomationMultipleViewPattern

Exposes properties and methods of a UI Automation element that provides, and is able to switch between, multiple representations of the same set of information or child controls.

IUIAutomationPatternHandler

This interface must be implemented by an application that registers new control pattern. The client uses this interface to return a client API wrapper object and to unmarshal property and method requests to an actual provider instance. The PatternHandler object is stateless, so this can be implemented by a singleton.

IUIAutomationPatternInstance

IUIAutomationPatternInstance interface is implemented by UI Automation and it represents a pattern object. The client API wrapper uses this interface to implement all property and method calls in terms of GetProperty and CallMethod.

IUIAutomationRangeValuePattern

Exposes properties and methods for a UI Automation element that has a range of values.

IUIAutomationScrollItemPattern

Exposes a method that enables an item in a scrollable view to be placed in a visible portion of the view.

IUIAutomationScrollPattern

Exposes properties and methods of controls that act as scrollable containers for a collection of child elements. The children of this element support IUIAutomationScrollItemPattern.

IUIAutomationSelectionItemPattern

Exposes properties and methods for selectable child items of container controls that support IUIAutomationSelectionPattern.

IUIAutomationSelectionPattern

Exposes methods and properties of a UI Automation element that contains selectable items. The children of this element support IUIAutomationSelectionItemPattern.

IUIAutomationSynchronizedInputPattern

Exposes methods and properties of a control that accepts keyboard or mouse input.

IUIAutomationTableItemPattern

Exposes properties of a child element of a container that supports IUIAutomationTablePattern.

IUIAutomationTablePattern

Exposes properties and methods of a control that acts as a container for a collection of child elements. The children of this element support IUIAutomationTableItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

IUIAutomationTextPattern

Exposes methods and properties of UI Automation elements that contain text.

IUIAutomationTextRange

Exposes properties and methods for a span of continuous text in a container that supports the IUIAutomationTextPattern interface. Client applications can use the IUIAutomationTextRange interface to select, compare, and retreive embedded objects from the text span. The interface uses two endpoints to delimit where the text span starts and ends. Disjoint spans of text are represented by an IUIAutomationTextRangeArray interface.

IUIAutomationTextRangeArray

Represents a collection of IUIAutomationTextRange objects.

IUIAutomationTogglePattern

Represents a control that can cycle through a set of states and maintain a state once set.

IUIAutomationTransformPattern

Exposes properties and methods for a control that can be moved, resized, or rotated.

IUIAutomationValuePattern

Exposes methods and properties for a UI Automation element with a value that does not span a range and that can be represented as a string. This string may or may not be editable, depending on the control and its settings.

IUIAutomationVirtualizedItemPattern

Represents an virtualized item, which is an item that is represented by a placeholder automation element in the UI Automation tree.

IUIAutomationWindowPattern

Exposes methods and properties that provide fundamental window-based functionality within a traditional graphical user interface (GUI).