public UIA2EventLibrary() { Element = new UIA2AutomationElementEvents(); Invoke = new InvokePatternEvents(); SelectionItem = new SelectionItemPatternEvents(); Selection = new SelectionPatternEvents(); SynchronizedInput = new SynchronizedInputPatternEvents(); Text = new TextPatternEvents(); Window = new WindowPatternEvents(); }
public UIA3EventLibrary() { Element = new UIA3AutomationElementEvents(); Drag = new DragPatternEvents(); DropTarget = new DropTargetPatternEvents(); Invoke = new InvokePatternEvents(); SelectionItem = new SelectionItemPatternEvents(); Selection = new SelectionPatternEvents(); SynchronizedInput = new SynchronizedInputPatternEvents(); TextEdit = new TextEditPatternEvents(); Text = new TextPatternEvents(); Window = new WindowPatternEvents(); }