将Window提供的Pattern及每个Pattern内部的方法,罗列了下,方便查找
***IUIAutomationAnnotationPattern
Provides access to the properties of an annotation in a document.
IUIAutomationDockPattern
--SetDockPosition
Provides access to a control that enables child elements to be arranged horizontally and vertically, relative to each other.
***IUIAutomationDragPattern
--GetCachedGrabbedItems
--GetCurrentGrabbedItems
Provides access to information exposed by a UI Automation provider for an element that can be dragged as part of a drag-and-drop operation.
***IUIAutomationDropTargetPattern
Provides access to drag-and-drop information exposed by a Microsoft UI Automation provider for an element that can be the drop target of a drag-and-drop operation.
IUIAutomationExpandCollapsePattern
--Collapse
--Expand
Provides access to a control that can visually expand to display content, and collapse to hide content.
IUIAutomationGridItemPattern
Provides access to a child control in a grid-style container that supports the IUIAutomationGridPattern interface.
IUIAutomationGridPattern
--GetItem
Provides access to a control that acts as a container for a collection of child controls that are organized in a two-dimensional logical coordinate system that can be traversed by row and column.
IUIAutomationInvokePattern
--Invoke
Exposes a method that enables a client application to invoke the action of a control (typically a button).
IUIAutomationItemContainerPattern
--FindItemByProperty
Exposes a method that retrieves an item from a container, such as a virtual list.
***IUIAutomationLegacyIAccessiblePattern
--DoDefaultAction