C# Class System.Windows.Automation.Automation

Show file Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
ContentViewCondition Condition
ControlViewCondition Condition
RawViewCondition Condition

Private Properties

Property Type Description
Automation System

Public Methods

Method Description
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

Private Methods

Method Description
Automation ( ) : System

Method Details

AddAutomationEventHandler() public static method

public static AddAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId AutomationEvent
element AutomationElement
scope TreeScope
eventHandler AutomationEventHandler
return void

AddAutomationFocusChangedEventHandler() public static method

public static AddAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
eventHandler AutomationFocusChangedEventHandler
return void

AddAutomationPropertyChangedEventHandler() public static method

public static AddAutomationPropertyChangedEventHandler ( AutomationElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler ) : void
element AutomationElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
return void

AddStructureChangedEventHandler() public static method

public static AddStructureChangedEventHandler ( AutomationElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
element AutomationElement
scope TreeScope
eventHandler StructureChangedEventHandler
return void

Compare() public static method

public static Compare ( AutomationElement el1, AutomationElement el2 ) : bool
el1 AutomationElement
el2 AutomationElement
return bool

Compare() public static method

public static Compare ( int runtimeId1, int runtimeId2 ) : bool
runtimeId1 int
runtimeId2 int
return bool

PatternName() public static method

public static PatternName ( AutomationPattern pattern ) : string
pattern AutomationPattern
return string

PropertyName() public static method

public static PropertyName ( AutomationProperty property ) : string
property AutomationProperty
return string

RemoveAllEventHandlers() public static method

public static RemoveAllEventHandlers ( ) : void
return void

RemoveAutomationEventHandler() public static method

public static RemoveAutomationEventHandler ( AutomationEvent eventId, AutomationElement element, AutomationEventHandler eventHandler ) : void
eventId AutomationEvent
element AutomationElement
eventHandler AutomationEventHandler
return void

RemoveAutomationFocusChangedEventHandler() public static method

public static RemoveAutomationFocusChangedEventHandler ( AutomationFocusChangedEventHandler eventHandler ) : void
eventHandler AutomationFocusChangedEventHandler
return void

RemoveAutomationPropertyChangedEventHandler() public static method

public static RemoveAutomationPropertyChangedEventHandler ( AutomationElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element AutomationElement
eventHandler AutomationPropertyChangedEventHandler
return void

RemoveStructureChangedEventHandler() public static method

public static RemoveStructureChangedEventHandler ( AutomationElement element, StructureChangedEventHandler eventHandler ) : void
element AutomationElement
eventHandler StructureChangedEventHandler
return void

Property Details

ContentViewCondition public static property

public static Condition ContentViewCondition
return Condition

ControlViewCondition public static property

public static Condition ControlViewCondition
return Condition

RawViewCondition public static property

public static Condition RawViewCondition
return Condition