public static string PropertyName(AutomationProperty property) { return(Boundary.UIAutomation(f: () => AutomationClass.GetPropertyProgrammaticName(property: property.Id))); }
public static string PatternName(AutomationPattern pattern) { return(Boundary.UIAutomation(f: () => AutomationClass.GetPatternProgrammaticName(pattern: pattern.Id))); }
public static bool Compare(int[] runtimeId1, int[] runtimeId2) { return(Convert.ToBoolean(value: Boundary.UIAutomation(f: () => AutomationClass.CompareRuntimeIds(runtimeId1: runtimeId1, runtimeId2: runtimeId2)))); }
public static bool Compare(AutomationElement el1, AutomationElement el2) { return(Convert.ToBoolean(value: Boundary.UIAutomation(f: () => AutomationClass.CompareElements(el1: el1.IUIAutomationElement, el2: el2.IUIAutomationElement)))); }
protected override void Remove() { Boundary.NoExceptions(a: () => Automation.AutomationClass.RemoveFocusChangedEventHandler(handler: this)); }
protected override void Remove() { Boundary.NoExceptions(a: () => Automation.AutomationClass.RemovePropertyChangedEventHandler(element: this._uiAutomationElement, handler: this)); }
protected override void Remove() { Boundary.NoExceptions(a: () => Automation.AutomationClass.RemoveAutomationEventHandler(eventId: this._eventId, element: this._uiAutomationElement, handler: this)); }