Automation クラス

定義

UI オートメーション クライアント アプリケーションのメソッドとフィールドを格納します。

public ref class Automation abstract sealed
public static class Automation
type Automation = class
Public Class Automation
継承
Automation

フィールド

ContentViewCondition

コンテンツを含めることができるUI オートメーション要素のみを含む、UI オートメーション ツリーの定義済みのビューを表します。

ControlViewCondition

コントロールであるUI オートメーション要素のみを含む、UI オートメーション ツリーの定義済みのビューを表します。

RawViewCondition

すべてのUI オートメーション要素を含むUI オートメーション ツリーの定義済みのビューを表します。

メソッド

AddAutomationEventHandler(AutomationEvent, AutomationElement, TreeScope, AutomationEventHandler)

UI オートメーション イベントを処理するメソッドを登録します。

AddAutomationFocusChangedEventHandler(AutomationFocusChangedEventHandler)

フォーカス変更イベントを処理するメソッドを登録します。

AddAutomationPropertyChangedEventHandler(AutomationElement, TreeScope, AutomationPropertyChangedEventHandler, AutomationProperty[])

プロパティ変更イベントを処理するメソッドを登録します。

AddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler)

構造変更イベントを処理するメソッドを登録します。

Compare(AutomationElement, AutomationElement)

2 つのUI オートメーション要素を比較しtrue、両方が同じ UI 要素を参照しているかどうかを返します。

Compare(Int32[], Int32[])

実行時識別子 (ID) を含む 2 つの整数配列を比較して、その内容が同じかどうかを判断します。

PatternName(AutomationPattern)

指定したコントロール パターンの名前を取得します。

PropertyName(AutomationProperty)

指定したUI オートメーション プロパティの名前を取得します。

RemoveAllEventHandlers()

登録されているすべてのUI オートメーション イベント ハンドラーを削除します。

RemoveAutomationEventHandler(AutomationEvent, AutomationElement, AutomationEventHandler)

指定したUI オートメーション イベント ハンドラーを削除します。

RemoveAutomationFocusChangedEventHandler(AutomationFocusChangedEventHandler)

指定したフォーカス変更イベント ハンドラーを削除します。

RemoveAutomationPropertyChangedEventHandler(AutomationElement, AutomationPropertyChangedEventHandler)

指定したプロパティ変更イベント ハンドラーを削除します。

RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler)

指定した構造変更イベント ハンドラーを削除します。

適用対象