C# Class Mono.UIAutomation.ClientSource.ClientAutomationSource

Inheritance: IAutomationSource
显示文件 Open project: mono/uia2atk Class Usage Examples

Public Methods

Method Description
AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
AddAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
AddStructureChangedEventHandler ( IElement element, TreeScope scope, StructureChangedEventHandler eventHandler ) : void
GetElementFromHandle ( IntPtr handle ) : IElement
GetFocusedElement ( ) : IElement
GetOrCreateElement ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : ClientElement
GetRootElements ( ) : IElement[]
Initialize ( ) : void
RemoveAllEventHandlers ( ) : void
RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
RemoveAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
RemoveStructureChangedEventHandler ( IElement element, StructureChangedEventHandler eventHandler ) : void

Method Details

AddAutomationEventHandler() public method

public AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
scope TreeScope
eventHandler AutomationEventHandler
return void

AddAutomationFocusChangedEventHandler() public method

public AddAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
return void

AddAutomationPropertyChangedEventHandler() public method

public AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
element IElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
properties System.Windows.Automation.AutomationProperty
return void

AddStructureChangedEventHandler() public method

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

GetElementFromHandle() public method

public GetElementFromHandle ( IntPtr handle ) : IElement
handle System.IntPtr
return IElement

GetFocusedElement() public method

public GetFocusedElement ( ) : IElement
return IElement

GetOrCreateElement() public method

public GetOrCreateElement ( System.Windows.Automation.Provider.IRawElementProviderSimple provider ) : ClientElement
provider System.Windows.Automation.Provider.IRawElementProviderSimple
return ClientElement

GetRootElements() public method

public GetRootElements ( ) : IElement[]
return IElement[]

Initialize() public method

public Initialize ( ) : void
return void

RemoveAllEventHandlers() public method

public RemoveAllEventHandlers ( ) : void
return void

RemoveAutomationEventHandler() public method

public RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
eventHandler AutomationEventHandler
return void

RemoveAutomationFocusChangedEventHandler() public method

public RemoveAutomationFocusChangedEventHandler ( FocusChangedEventHandler eventHandler ) : void
eventHandler FocusChangedEventHandler
return void

RemoveAutomationPropertyChangedEventHandler() public method

public RemoveAutomationPropertyChangedEventHandler ( IElement element, AutomationPropertyChangedEventHandler eventHandler ) : void
element IElement
eventHandler AutomationPropertyChangedEventHandler
return void

RemoveStructureChangedEventHandler() public method

public RemoveStructureChangedEventHandler ( IElement element, StructureChangedEventHandler eventHandler ) : void
element IElement
eventHandler StructureChangedEventHandler
return void