void IUIAutomationStructureChangedEventHandler.HandleStructureChangedEvent( IUIAutomationElement sender, UIAutomationClient.StructureChangeType changeType, int[] runtimeId) { AutomationElement automationElement = null; if (sender != null) { automationElement = new AutomationElement(autoElement: sender); } this._handlingDelegate(sender: automationElement, e: new StructureChangedEventArgs(structureChangeType: UiaConvert.Convert(structureChangeType: changeType), runtimeId: runtimeId)); }
public static StructureChangeType Convert( UIAutomationClient.StructureChangeType structureChangeType) { return((StructureChangeType)structureChangeType); }