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