Esempio n. 1
0
 public SelectCodeTypeDialog(AutomationElement element) : base(element) {
     var actElement = Element.FindFirst(
                    TreeScope.Descendants,
                    new PropertyCondition(
                        AutomationElement.AutomationIdProperty,
                        "1005")); // AutomationId 1005 discovered with UISpy
     _availableCodeTypes = new CheckListView(actElement);
 }
Esempio n. 2
0
        public SelectCodeTypeDialog(AutomationElement element) : base(element)
        {
            var actElement = Element.FindFirst(
                TreeScope.Descendants,
                new PropertyCondition(
                    AutomationElement.AutomationIdProperty,
                    "1005"));            // AutomationId 1005 discovered with UISpy

            _availableCodeTypes = new CheckListView(actElement);
        }
Esempio n. 3
0
 public CheckBox(AutomationElement element, CheckListView parent)
     : base(element)
 {
     Name = (string)Element.GetCurrentPropertyValue(AutomationElement.NameProperty);
 }
Esempio n. 4
0
 public CheckBox(AutomationElement element, CheckListView parent)
     : base(element) {
     Name = (string)Element.GetCurrentPropertyValue(AutomationElement.NameProperty);
 }