Sha256: 72618443c6261edbc784c717814adb8adc72b15b951f25ce200ebd9e4a186050
Contents?: true
Size: 837 Bytes
Versions: 10
Compression:
Stored size: 837 Bytes
Contents
using System.Windows.Automation; namespace RAutomation.UIA.Extensions { public static class Property { public static Condition Condition(this ControlType controlType) { return new PropertyCondition(AutomationElement.ControlTypeProperty, controlType); } public static Condition TrueCondition(this AutomationProperty property) { return new PropertyCondition(property, true); } public static Condition Is(this AutomationProperty property, object value) { return new PropertyCondition(property, value); } public static bool In(this AutomationProperty property, AutomationElement element) { return (bool) element.GetCurrentPropertyValue(property); } } }
Version data entries
10 entries across 10 versions & 1 rubygems