言語

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 オートメーション要素を比較し、両方が同じ UI 要素を参照している場合は true を返します。

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)

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

適用対象