System.Windows.Automation 命名空間

提供 Windows Presentation Foundation (WPF) 使用者介面自動化用戶端的支援。 Provides support for Windows Presentation Foundation (WPF) UI Automation clients.

類別

AndCondition

表示兩個或以上 PropertyCondition 物件的組合,這些物件必須完全符合才能視為符合項目。Represents a combination of two or more PropertyCondition objects that must both be true for a match.

AsyncContentLoadedEventArgs

提供 AsyncContentLoadedEvent 的資料。Provides data for a AsyncContentLoadedEvent.

Automation

包含使用者介面自動化用戶端應用程式的方法與欄位。Contains methods and fields for UI Automation client applications.

AutomationElement

代表使用者介面自動化樹狀目錄中的使用者介面自動化項目,並包含可由使用者介面自動化用戶端應用程式當成識別項來使用的值。Represents a UI Automation element in the UI Automation tree, and contains values used as identifiers by UI Automation client applications.

AutomationElementCollection

表示 AutomationElement 物件的集合。Represents a collection of AutomationElement objects.

AutomationElementIdentifiers

包含使用者介面自動化提供者用來作為識別項的值。Contains values used as identifiers by UI Automation providers.

AutomationEvent

識別使用者介面自動化事件。Identifies a UI Automation event.

AutomationEventArgs

對傳遞至 AutomationEventHandler 委派的使用者介面自動化事件提供資料。Provides data for UI Automation events that are passed to an AutomationEventHandler delegate.

AutomationFocusChangedEventArgs

提供焦點變更事件的資料。Provides data for a focus-changed event.

AutomationIdentifier

識別使用者介面自動化中控制項類型、事件、模式、屬性 (Property) 和文字屬性 (Attribute) 之類型的基底類別。Base class for types that identify control types, events, patterns, properties, and text attributes in UI Automation.

AutomationPattern

識別控制項模式。Identifies a control pattern.

AutomationProperties

提供方法來取得或設定 AutomationPeer 項目執行個體相關的屬性值。Provides a means of getting or setting the value of the associated properties of the instance of the AutomationPeer element.

AutomationProperty

識別 AutomationElement 的屬性。Identifies a property of an AutomationElement.

AutomationPropertyChangedEventArgs

提供屬性變更事件的相關資訊。Provides information about a property-changed event.

AutomationTextAttribute

識別使用者介面自動化文字屬性。Identifies UI Automation text attributes.

BasePattern

提供控制項模式類別的基底實作。Provides the base implementation for control pattern classes.

CacheRequest

指定在取得 AutomationElement 時由使用者介面自動化架構快取的屬性和模式。Specifies properties and patterns that the UI Automation framework caches when an AutomationElement is obtained.

ClientSettings

包含的方法可為用戶端提供用戶端提供者。Contains methods that make client-side providers available to the client.

Condition

在使用者介面自動化樹狀目錄中搜尋項目時,用於篩選之條件的基底類型。Base type for conditions used in filtering when searching for elements in the UI Automation tree.

ControlType

識別使用者介面 (UI) 控制項的類型。Identifies the type of a user interface (UI) control.

DockPattern

表示停駐容器內公開停駐屬性的控制項。Represents controls that expose their dock properties within a docking container.

DockPatternIdentifiers

包含 IDockProvider 做為識別項的值。Contains values used as identifiers for IDockProvider.

ElementNotAvailableException

包含在嘗試存取使用者介面自動化項目時所引發之例外狀況的相關資訊,此項目對應至已無法使用的使用者介面部分。Contains information about the exception that is raised when an attempt is made to access an UI Automation element corresponding to a part of the user interface that is no longer available.

ElementNotEnabledException

包含例外狀況的相關資訊,該例外狀況是試圖管理未啟用的控制項所引發。Contains information about the exception that is raised when an attempt is made to manipulate a control that is not enabled.

ExpandCollapsePattern

表示以視覺化方式展開來顯示內容和摺疊以隱藏內容的控制項。Represents controls that visually expand to display content and collapse to hide content.

ExpandCollapsePatternIdentifiers

包含 IExpandCollapseProvider 用來作為識別項的值。Contains values used as identifiers by IExpandCollapseProvider.

GridItemPattern

表示支援 GridPattern 的容器子控制項。Represents child controls of containers that support GridPattern.

GridItemPatternIdentifiers

包含 IGridItemProvider 用來作為識別項的值。Contains values used as identifiers by IGridItemProvider.

GridPattern

代表可當成子項目集合容器使用的控制項。Represents controls that act as containers for a collection of child elements. 這個控制項的子系支援 GridItemPattern,並組合管理成資料列與資料行可周遊的二維邏輯座標系統。The children of this control support GridItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

GridPatternIdentifiers

包含 IGridProvider 用來作為識別項的值。Contains values used as identifiers by IGridProvider.

InvokePattern

表示啟動時並不會維護狀態,而是會啟始或執行明確之單一動作的控制項。Represents controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

InvokePatternIdentifiers

包含 IInvokeProvider 用來作為識別項的值。Contains values used as identifiers by IInvokeProvider.

ItemContainerPattern

表示物件,這個物件會管理項目,並支援根據屬性值來擷取項目。Represents an object that manages items and supports retrieving an item by property value.

ItemContainerPatternIdentifiers

包含 IItemContainerProvider 用來作為識別項的值。Contains values used as identifiers by IItemContainerProvider.

MultipleViewPattern

表示可為同一組資訊或子控制項提供多重表示,並在各表示之間切換的控制項。Represents controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

MultipleViewPatternIdentifiers

包含 IMultipleViewProvider 用來作為識別項的值。Contains values used as identifiers by IMultipleViewProvider.

NoClickablePointException

包含在沒有可按點的使用者介面自動化項目上呼叫 GetClickablePoint() 時所引發之例外狀況的相關資訊。Contains information about the exception that is raised when GetClickablePoint() is called on a UI Automation element that has no clickable point.

NotCondition

表示 Condition,此為指定之 Condition 的否定條件。Represents a Condition that is the negative of a specified Condition.

OrCondition

表示兩個以上的條件所構成的集合,只要符合其中任何一個條件即視為符合的項目。Represents a combination of two or more conditions where a match exists if any one of the conditions is true.

PropertyCondition

表示Condition,測試屬性是否有指定值。Represents a Condition that tests whether a property has a specified value.

ProxyAssemblyNotLoadedException

包含例外狀況的相關資訊,此例外狀況是因載入內含用戶端提供者的組件發生問題所引發。Contains information about an exception that is raised when there is a problem loading an assembly that contains client-side providers.

RangeValuePattern

表示可在某個範圍內設定為值的控制項。Represents a control that can be set to a value within a range.

RangeValuePatternIdentifiers

包含 IRangeValueProvider 做為識別項的值。Contains values used as identifiers for IRangeValueProvider.

ScrollItemPattern

表示支援 ScrollPattern 控制項模式的容器子控制項。Represents child controls of containers that support the ScrollPattern control pattern.

ScrollItemPatternIdentifiers

包含 IScrollItemProvider 用來作為識別項的值。Contains values used as identifiers by IScrollItemProvider.

ScrollPattern

代表可當成子項目集合捲動式容器使用的控制項。Represents controls that act as scrollable containers for a collection of child elements. 此項目的子系支援 ScrollItemPatternThe children of this element support ScrollItemPattern.

ScrollPatternIdentifiers

包含 IScrollProvider 做為識別項的值。Contains values used as identifiers for IScrollProvider.

SelectionItemPattern

表示可支援 SelectionPattern 之容器控制項的可選取子項目。Represents selectable child items of container controls that support SelectionPattern.

SelectionItemPatternIdentifiers

包含 ISelectionItemProvider 用來作為識別項的值。Contains values used as identifiers by ISelectionItemProvider.

SelectionPattern

表示控制項,該控制項可作為可選取之子項目集合的容器。Represents a control that acts as a container for a collection of selectable child items. 這個項目的子系支援 SelectionItemPatternThe children of this element support the SelectionItemPattern.

SelectionPatternIdentifiers

包含 ISelectionProvider 做為識別項的值。Contains values used as identifiers for ISelectionProvider.

StructureChangedEventArgs

包含使用者介面自動化樹狀目錄結構變更時引發之事件的相關資訊。Contains information about the event that is raised when the UI Automation tree structure has changed.

SynchronizedInputPattern

表示支援同步化輸入事件的物件。Represents objects that support synchronized input events.

SynchronizedInputPatternIdentifiers

包含 ISynchronizedInputProvider 用來作為識別項的值。Contains values used as identifiers by ISynchronizedInputProvider.

TableItemPattern

表示可支援 TablePattern 之容器的子控制項。Represents the child controls of containers that support TablePattern.

TableItemPatternIdentifiers

包含 ITableItemProvider 用來作為識別項的值。Contains values used as identifiers by ITableItemProvider.

TablePattern

表示可當成子項目集合容器使用的控制項。Represents controls that act as containers for a collection of child elements. 這個項目的子系支援 TableItemPattern,並組織成資料列與資料行可周遊的二維邏輯座標系統。The children of this element support TableItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

TablePatternIdentifiers

包含 TablePattern 做為識別項的值。Contains values used as identifiers for TablePattern.

TextPattern

代表包含文字的控制項。Represents controls that contain text.

TextPatternIdentifiers

包含 ITextProvider 做為識別項的值。Contains values used as identifiers for ITextProvider.

TogglePattern

表示的控制項可以循環取得狀態集和維護已設定的狀態集。Represents a control that can cycle through a set of states and maintain a state once set.

TogglePatternIdentifiers

包含 IToggleProvider 用來作為識別項的值。Contains values used as identifiers by IToggleProvider.

TransformPattern

代表可在二維空間內移動、調整大小或旋轉的控制項。Represents a control that can be moved, resized, or rotated within a two-dimensional space.

TransformPatternIdentifiers

包含 ITransformProvider 做為識別項的值。Contains values used as identifiers for ITransformProvider.

TreeWalker

提供用來巡覽使用者介面自動化樹狀目錄的方法和屬性。Provides methods and properties used to navigate the UI Automation tree.

ValuePattern

表示的控制項有內建值,此值不是一個範圍,而且可以用字串表示。Represents a control that has an intrinsic value that does not span a range and can be represented as a string. 這個字串是否能編輯要視控制項及其設定而定。This string may or may not be editable depending on the control and its settings.

ValuePatternIdentifiers

包含 IValueProvider 做為識別項的值。Contains values used as identifiers for IValueProvider.

VirtualizedItemPattern

表示容器內的項目 (Item),這些項目已經虛擬化,而且必須當做使用者介面自動化項目 (Element) 以供完整存取。Represents items inside containers that are virtualized and need to be made fully accessible as UI Automation elements.

VirtualizedItemPatternIdentifiers

包含 IVirtualizedItemProvider 用來作為識別項的值。Contains values used as identifiers by IVirtualizedItemProvider.

WindowClosedEventArgs

包含視窗關閉時所引發之事件的相關資訊。Contains information about the event that is raised when a window is closed.

WindowPattern

表示在傳統圖形化使用者介面 (GUI) 內提供基本視窗功能的控制項。Represents a control that provides fundamental window-based functionality within a traditional graphical user interface (GUI).

WindowPatternIdentifiers

包含 IWindowProvider 用來作為識別項的值。Contains values used as identifiers by IWindowProvider.

結構

AutomationElement.AutomationElementInformation

包含 CachedCurrent 屬性所使用的屬性存取子。Contains the property accessors used by the Cached or Current properties.

ClientSideProviderDescription

描述用戶端使用者介面自動化提供者的範圍,以便向使用者介面自動化用戶端應用程式註冊。Describes the scope of a client-side UI Automation provider so that it can be registered with the UI Automation client application.

DockPattern.DockPatternInformation

使用 DockPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a DockPattern object using its Current or Cached accessors.

ExpandCollapsePattern.ExpandCollapsePatternInformation

使用 ExpandCollapsePattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a ExpandCollapsePattern object using its Current or Cached accessors.

GridItemPattern.GridItemPatternInformation

使用 GridItemPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a GridItemPattern object using its Current or Cached accessors.

GridPattern.GridPatternInformation

使用 GridPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a GridPattern object using its Current or Cached accessors.

MultipleViewPattern.MultipleViewPatternInformation

使用 MultipleViewPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a MultipleViewPattern object using its Current or Cached accessors.

RangeValuePattern.RangeValuePatternInformation

使用 RangeValuePattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a RangeValuePattern object using its Current or Cached accessors.

ScrollPattern.ScrollPatternInformation

使用 ScrollPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a ScrollPattern object using its Current or Cached accessors.

SelectionItemPattern.SelectionItemPatternInformation

使用 SelectionItemPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a SelectionItemPattern object using its Current or Cached accessors.

SelectionPattern.SelectionPatternInformation

使用 SelectionPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a SelectionPattern object using its Current or Cached accessors.

TableItemPattern.TableItemPatternInformation

使用 TableItemPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a TableItemPattern object using its Current or Cached accessors.

TablePattern.TablePatternInformation

使用 TablePattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a TablePattern object using its Current or Cached accessors.

TogglePattern.TogglePatternInformation

使用 TogglePattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a TogglePattern object using its Current or Cached accessors.

TransformPattern.TransformPatternInformation

使用 TransformPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a TransformPattern object using its Current or Cached accessors.

ValuePattern.ValuePatternInformation

使用 ValuePattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a ValuePattern object using its Current or Cached accessors.

WindowPattern.WindowPatternInformation

使用 WindowPattern 物件的 CurrentCached 存取子,提供該物件的屬性值存取。Provides access to the property values of a WindowPattern object using its Current or Cached accessors.

列舉

AsyncContentLoadedState

包含值,指定正在載入內容項目中之內容的狀態。Contains values that specify the state of the content being loaded into a content element.

AutomationElementMode

包含值,這些值會指定傳回使用者介面自動化項目時所使用的參考型別。 這些值用於 AutomationElementMode 屬性。These values are used in the AutomationElementMode property.

AutomationLiveSetting

描述特定即時區域的通知特性。Describes the notification characteristics of a particular live region.

ClientSideProviderMatchIndicator

包含的值指示要以何種行為來比對 ClientSideProviderDescription 內的類別名稱。Contains values that specify behavior when matching class names in a ClientSideProviderDescription.

DockPosition

包含值,這些值指定物件在停駐容器內的停駐位置 (以 DockPattern 所代表)。Contains values that specify the dock position of an object, represented by a DockPattern, within a docking container.

ExpandCollapseState

包含值,指定使用者介面自動化項目的 ExpandCollapseStateContains values that specify the ExpandCollapseState of a UI Automation element.

IsOffscreenBehavior

指定決定 IsOffscreen()屬性的方式。Specifies how the IsOffscreen() property is determined.

OrientationType

包含的值指定控制項的方向。Contains values that specify the orientation of a control.

PropertyConditionFlags

包含值,這些值會指定如何在 PropertyCondition 中測試屬性值。Contains values that specify how a property value is tested in a PropertyCondition.

RowOrColumnMajor

包含值,這些值會指定主要是依資料列或依資料行來讀取資料表中的資料。Contains values that specify whether data in a table should be read primarily by row or by column.

ScrollAmount

包含值,這些值是由 ScrollPattern 用來表示要捲動的方向和距離。Contains values used by ScrollPattern to indicate the direction and distance to scroll.

StructureChangeType

包含值,指定 Microsoft 使用者介面自動化項目樹狀目錄的結構變更。Contains values that specify changes in the structure of the Microsoft UI Automation element tree.

SupportedTextSelection

包含值,這些值會指定文字提供者是否支援選取,如果支援,則一併指出支援的是單次連續選取或多次斷續選取。Contains values that specify whether a text provider supports selection and, if so, whether it supports a single, continuous selection or multiple, disjoint selections.

SynchronizedInputType

包含值,這些值會指定同步化輸入的型別。Contains values that specify the type of synchronized input.

ToggleState

包含值,指定使用者介面自動化項目的 ToggleStateContains values that specify the ToggleState of a UI Automation element.

TreeScope

包含值,這些值會指定使用者介面自動化樹狀目錄內之項目的範圍。Contains values that specify the scope of elements within the UI Automation tree.

WindowInteractionState

內含的值指示視窗目前的狀態,以利使用者互動或進行程式設計互動。Contains values that specify the current state of the window for purposes of user or programmatic interaction.

WindowVisualState

包含值,這個值會指定視窗的可見狀態。Contains values that specify the visual state of a window.

委派

AutomationEventHandler

代表使用者介面自動化用戶端應用程式所實作,用以處理使用者介面自動化提供者所引發之事件的方法。Represents the method implemented by the UI Automation client application to handle an event raised by a UI Automation provider.

AutomationFocusChangedEventHandler

代表使用者介面自動化用戶端應用程式所實作的方法,這個方法用來處理使用者介面自動化提供者在焦點已變更時所引發的事件。Represents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when the focus has changed.

AutomationPropertyChangedEventHandler

代表使用者介面自動化用戶端應用程式實作的方法,該方法用來處理使用者介面自動化提供者在屬性已變更時所引發之事件。Represents the method implemented by the UI Automation client application to handle the event raised by a UI Automation provider when a property has changed.

ClientSideProviderFactoryCallback

代表視窗用戶端 UI 自動化提供者的方法。Represents the method that creates a client-side UI Automation provider for a window.

StructureChangedEventHandler

代表由用戶端應用程式實作的方法,以處理當使用者介面自動化樹狀目錄變更時所引發的事件。Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.