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)

두 UI 자동화 요소를 비교하여 둘 다 동일한 UI 요소를 참조하는 경우 반환 true 합니다.

Compare(Int32[], Int32[])

ID(런타임 식별자)가 포함된 두 정수 배열을 비교하여 해당 콘텐츠가 동일한지 여부를 확인합니다.

PatternName(AutomationPattern)

지정된 컨트롤 패턴의 이름을 검색합니다.

PropertyName(AutomationProperty)

지정된 UI 자동화 속성의 이름을 검색합니다.

RemoveAllEventHandlers()

등록된 모든 UI 자동화 이벤트 처리기를 제거합니다.

RemoveAutomationEventHandler(AutomationEvent, AutomationElement, AutomationEventHandler)

지정된 UI 자동화 이벤트 처리기를 제거합니다.

RemoveAutomationFocusChangedEventHandler(AutomationFocusChangedEventHandler)

지정된 포커스 변경 이벤트 처리기를 제거합니다.

RemoveAutomationPropertyChangedEventHandler(AutomationElement, AutomationPropertyChangedEventHandler)

지정된 속성 변경 이벤트 처리기를 제거합니다.

RemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler)

지정된 구조 변경 이벤트 처리기를 제거합니다.

적용 대상