C# Класс AtspiUiaSource.AutomationSource

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

Private Properties

Свойство Тип Описание
FindFocusedAccessible Atspi.Accessible
IsAccessibilityEnabledDBus bool
IsAccessibilityEnabledGConf bool
IsElementInScope bool
OnChildAdded void
OnChildRemoved void
OnDescriptionChanged void
OnNameChanged void
OnRootElementsChanged void
OnStateChanged void
RaiseAutomationEvent void
RaiseAutomationEvent void
RaiseAutomationEvent void
RaiseFocusChangedEvent void
RaiseFocusChangedEvent void
RaisePropertyChangedEvent void
RaisePropertyChangedEvent void
RaisePropertyChangedEvent void
RaiseStructureChangedEvent void
SizeFits bool

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

Метод Описание
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
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

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

Метод Описание
FindFocusedAccessible ( Accessible root ) : Accessible
IsAccessibilityEnabledDBus ( ) : bool
IsAccessibilityEnabledGConf ( ) : bool
IsElementInScope ( IElement target, IElement element, TreeScope scope ) : bool
OnChildAdded ( Accessible sender, Accessible child ) : void
OnChildRemoved ( Accessible sender, Accessible child ) : void
OnDescriptionChanged ( object sender, string oldDescription, string newDescription ) : void
OnNameChanged ( object sender, string oldName, string newName ) : void
OnRootElementsChanged ( ) : void
OnStateChanged ( Accessible sender, StateType state, bool set ) : void
RaiseAutomationEvent ( Accessible accessible, AutomationEvent eventId ) : void
RaiseAutomationEvent ( IElement element, AutomationEvent eventId ) : void
RaiseAutomationEvent ( IElement element, AutomationEventArgs e ) : void
RaiseFocusChangedEvent ( Accessible accessible ) : void
RaiseFocusChangedEvent ( IElement parent, IElement child ) : void
RaisePropertyChangedEvent ( Accessible accessible, AutomationProperty property, object oldValue, object newValue ) : void
RaisePropertyChangedEvent ( IElement element, AutomationProperty property, object oldValue, object newValue ) : void
RaisePropertyChangedEvent ( IElement element, AutomationPropertyChangedEventArgs e ) : void
RaiseStructureChangedEvent ( IElement element, StructureChangeType type ) : void
SizeFits ( BoundingBox extents, int x, int y, int width, int height ) : bool

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

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

public AddAutomationEventHandler ( AutomationEvent eventId, IElement element, TreeScope scope, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
scope TreeScope
eventHandler AutomationEventHandler
Результат void

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

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

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

public AddAutomationPropertyChangedEventHandler ( IElement element, TreeScope scope, AutomationPropertyChangedEventHandler eventHandler, AutomationProperty properties ) : void
element IElement
scope TreeScope
eventHandler AutomationPropertyChangedEventHandler
properties System.Windows.Automation.AutomationProperty
Результат void

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

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

GetElementFromHandle() публичный Метод

public GetElementFromHandle ( IntPtr handle ) : IElement
handle System.IntPtr
Результат IElement

GetFocusedElement() публичный Метод

public GetFocusedElement ( ) : IElement
Результат IElement

GetRootElements() публичный Метод

public GetRootElements ( ) : IElement[]
Результат IElement[]

Initialize() публичный Метод

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

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

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

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

public RemoveAutomationEventHandler ( AutomationEvent eventId, IElement element, AutomationEventHandler eventHandler ) : void
eventId System.Windows.Automation.AutomationEvent
element IElement
eventHandler AutomationEventHandler
Результат void

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

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

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

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

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

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