C# Класс System.Windows.Automation.Automation

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ContentViewCondition Condition
ControlViewCondition Condition
RawViewCondition Condition

Private Properties

Свойство Тип Описание
Automation System

Открытые методы

Метод Описание
AddAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
AddAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
AddAutomationPropertyChangedEventHandler ( AutomationElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler ) : void
AddStructureChangedEventHandler ( AutomationElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
Compare ( AutomationElement el1, AutomationElement el2 ) : bool
Compare ( int runtimeId1, int runtimeId2 ) : bool
PatternName ( AutomationPattern pattern ) : string
PropertyName ( AutomationProperty property ) : string
RemoveAllEventHandlers ( ) : void
RemoveAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, AutomationEventHandler eventHandler ) : void
RemoveAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
RemoveAutomationPropertyChangedEventHandler ( AutomationElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
RemoveStructureChangedEventHandler ( AutomationElement element, StructureChangedEventHandler eventHandler ) : void

Приватные методы

Метод Описание
Automation ( ) : System

Описание методов

AddAutomationEventHandler() публичный статический Метод

public static AddAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId AutomationEvent
element AutomationElement
scope TreeScope
eventHandler AutomationEventHandler
Результат void

AddAutomationFocusChangedEventHandler() публичный статический Метод

public static AddAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
eventHandler AutomationFocusChangedEventHandler
Результат void

AddAutomationPropertyChangedEventHandler() публичный статический Метод

public static AddAutomationPropertyChangedEventHandler ( AutomationElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler ) : void
element AutomationElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
Результат void

AddStructureChangedEventHandler() публичный статический Метод

public static AddStructureChangedEventHandler ( AutomationElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
element AutomationElement
scope TreeScope
eventHandler StructureChangedEventHandler
Результат void

Compare() публичный статический Метод

public static Compare ( AutomationElement el1, AutomationElement el2 ) : bool
el1 AutomationElement
el2 AutomationElement
Результат bool

Compare() публичный статический Метод

public static Compare ( int runtimeId1, int runtimeId2 ) : bool
runtimeId1 int
runtimeId2 int
Результат bool

PatternName() публичный статический Метод

public static PatternName ( AutomationPattern pattern ) : string
pattern AutomationPattern
Результат string

PropertyName() публичный статический Метод

public static PropertyName ( AutomationProperty property ) : string
property AutomationProperty
Результат string

RemoveAllEventHandlers() публичный статический Метод

public static RemoveAllEventHandlers ( ) : void
Результат void

RemoveAutomationEventHandler() публичный статический Метод

public static RemoveAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, AutomationEventHandler eventHandler ) : void
eventId AutomationEvent
element AutomationElement
eventHandler AutomationEventHandler
Результат void

RemoveAutomationFocusChangedEventHandler() публичный статический Метод

public static RemoveAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
eventHandler AutomationFocusChangedEventHandler
Результат void

RemoveAutomationPropertyChangedEventHandler() публичный статический Метод

public static RemoveAutomationPropertyChangedEventHandler ( AutomationElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element AutomationElement
eventHandler AutomationPropertyChangedEventHandler
Результат void

RemoveStructureChangedEventHandler() публичный статический Метод

public static RemoveStructureChangedEventHandler ( AutomationElement element, StructureChangedEventHandler eventHandler ) : void
element AutomationElement
eventHandler StructureChangedEventHandler
Результат void

Описание свойств

ContentViewCondition публичное статическое свойство

public static Condition ContentViewCondition
Результат Condition

ControlViewCondition публичное статическое свойство

public static Condition ControlViewCondition
Результат Condition

RawViewCondition публичное статическое свойство

public static Condition RawViewCondition
Результат Condition