System.Windows.Automation.Provider 命名空间

提供用于创建 UI 自动化提供程序的 API。 Provides APIs for creating UI Automation providers.

AutomationInteropProvider

为 UI 自动化提供程序和 UI 自动化客户端应用程序之间的通信提供支持。Provides support for communication between UI Automation providers and UI Automation client applications.

接口

IDockProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性来访问在某个停靠容器内公开其停靠属性的控件。Exposes methods and properties to support UI Automation client access to controls that expose their dock properties within a docking container.

IExpandCollapseProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问能够以可视方式进行展开(以显示内容)和折叠(以隐藏内容)的控件。Exposes methods and properties to support UI Automation client access to controls that visually expand to display content and collapse to hide content.

IGridItemProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问实现 IGridProvider 的容器的各个子控件。Exposes methods and properties to support UI Automation client access to individual child controls of containers that implement IGridProvider.

IGridProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问充当某个子元素集合的容器的控件。Exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of child elements. 此元素的子级必须实现 IGridItemProvider,而且必须使用键盘在可以进行遍历的一个二维逻辑坐标系统中组织(即,UI 自动化客户端可以移动到相邻控件)。The children of this element must implement IGridItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.

IInvokeProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问启动或执行一项明确操作并且在激活后不维护状态的控件。Exposes methods and properties to support UI Automation client access to controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

IItemContainerProvider

公开一种方法,使应用程序能够在容器(例如虚拟化列表)中查找元素。Exposes a method to enable applications to find an element in a container, such as a virtualized list.

IMultipleViewProvider

公开一些方法和属性,UI 自动化客户端可以通过这些方法和属性访问提供同一组信息或子控件的多种表示方式(并能够在这些表示方式之间切换)的控件。Exposes methods and properties to support UI Automation client access to controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

IRangeValueProvider

公开一些方法和属性,以支持 UI 自动化客户端访问可在一定范围内设置为值的控件。Exposes methods and properties to support UI Automation client access to controls that can be set to a value within a range.

IRawElementProviderAdviseEvents

公开用于在 UI 自动化客户端应用程序开始或结束侦听事件时通知片段根元素的方法。Exposes methods that are called to notify the root element of a fragment when a UI Automation client application begins or ends listening for events.

IRawElementProviderFragment

公开用户界面 (UI) 元素的方法和属性,这些元素是多于一个层次深度的结构的一部分,例如列表框或列表项。Exposes methods and properties on user interface (UI) elements that are part of a structure more than one level deep, such as a list box or a list item. 由 UI 自动化提供程序实现。Implemented by UI Automation providers.

IRawElementProviderFragmentRoot

公开片段中根元素的方法和属性。Exposes methods and properties on the root element in a fragment.

IRawElementProviderHwndOverride

公开一个方法,该方法可用于对片段的 UI 自动化树内的基于窗口的元素进行重定位。Exposes a method that enables repositioning of window-based elements within the UI Automation tree of the fragment.

IRawElementProviderSimple

提供公开 UI 元素基本信息的方法和属性。Provides methods and properties that expose basic information about a UI element.

IScrollItemProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问实现 IScrollProvider 的容器的各个子控件。Exposes methods and properties to support UI Automation client access to individual child controls of containers that implement IScrollProvider.

IScrollProvider

公开一些方法和属性以支持 UI 自动化客户端访问充当子对象集合的可滚动容器的控件。Exposes methods and properties to support UI Automation client access to a control that acts as a scrollable container for a collection of child objects. 此控件的子级必须实现 IScrollItemProviderThe children of this control must implement IScrollItemProvider.

ISelectionItemProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问实现 ISelectionProvider 的容器的各个可选择的子控件。Exposes methods and properties to support UI Automation client access to individual, selectable child controls of containers that implement ISelectionProvider.

ISelectionProvider

公开方法和属性以支持 UI 自动化客户端对控件的访问,这些控件充当用于收集各个可选择的子项的容器。Exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of individual, selectable child items. 此控件的子级必须实现 ISelectionItemProviderThe children of this control must implement ISelectionItemProvider.

ISynchronizedInputProvider

公开一些方法,以方便 UI 自动化客户端访问支持同步输入的控件。Exposes methods to facilitate UI Automation client access to controls that support synchronized input.

ITableItemProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问实现 ITableProvider 的容器的子控件。Exposes methods and properties to support UI Automation client access to child controls of containers that implement ITableProvider.

ITableProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问充当某个子元素集合的容器的控件。Exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of child elements. 此元素的子级必须实现 ITableItemProvider,而且必须使用键盘在可以进行遍历的一个二维逻辑坐标系统中组织(即,UI 自动化客户端可以移动到相邻控件)。The children of this element must implement ITableItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.

ITextProvider

公开方法和属性以支持 UI 自动化客户端对包含文本的控件的访问。Exposes methods and properties to support UI Automation client access to controls that contain text.

ITextRangeProvider

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问用于实现 ITextProvider 的文本容器中的一块连续文本。Exposes methods and properties to support UI Automation client access to a span of continuous text in a text container that implements ITextProvider.

IToggleProvider

公开一些方法和属性,以支持 UI 自动化客户端访问可遍历一组状态并可在设置后维持状态的控件。Exposes methods and properties to support UI Automation client access to controls that can cycle through a set of states and maintain a state once set.

ITransformProvider

公开一些方法和属性,以支持 UI 自动化客户端访问可移动、调整大小或在二维空间中旋转的控件。Exposes methods and properties to support UI Automation client access to controls that can be moved, resized, or rotated within a two-dimensional space.

IValueProvider

公开方法和属性,以支持对内部值未跨越范围并且可以表示为字符串的控件进行 UI 自动化客户端访问。Exposes methods and properties to support UI Automation client access to controls having an intrinsic value that does not span a range and that can be represented as a string.

IVirtualizedItemProvider

公开一种方法,以支持虚拟化项控件模式。Exposes a method to support the virtualized item control pattern.

IWindowProvider

公开方法和属性,以支持 UI 自动化客户端访问控件,这些控件在传统的图形用户界面 (GUI) 中提供基于窗口的重要功能。Exposes methods and properties to support UI Automation client access to controls that provide fundamental window-based functionality within a traditional graphical user interface (GUI).

枚举

NavigateDirection

包含一些值,可使用这些值指定 UI 自动化树内的导航方向。Contains values used to specify the direction of navigation within the UI Automation tree.

ProviderOptions

包含用于指定 UI 自动化提供程序类型的值。Contains values that specify the type of UI Automation provider.