[UIA]Pattern总结

这篇博客汇总了Windows UI自动化中各种Pattern及其内置方法,旨在提供一个快速查找和理解UI自动化Pattern的参考指南。
摘要由CSDN通过智能技术生成

将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
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值