Esempio n. 1
0
 public static string PropertyName(AutomationProperty property)
 {
     return(Boundary.UIAutomation(f: () => AutomationClass.GetPropertyProgrammaticName(property: property.Id)));
 }
Esempio n. 2
0
 public static string PatternName(AutomationPattern pattern)
 {
     return(Boundary.UIAutomation(f: () => AutomationClass.GetPatternProgrammaticName(pattern: pattern.Id)));
 }
Esempio n. 3
0
 public static bool Compare(int[] runtimeId1, int[] runtimeId2)
 {
     return(Convert.ToBoolean(value: Boundary.UIAutomation(f: () => AutomationClass.CompareRuntimeIds(runtimeId1: runtimeId1, runtimeId2: runtimeId2))));
 }
Esempio n. 4
0
 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));
 }
Esempio n. 7
0
 protected override void Remove()
 {
     Boundary.NoExceptions(a: () => Automation.AutomationClass.RemoveAutomationEventHandler(eventId: this._eventId, element: this._uiAutomationElement, handler: this));
 }