Example #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);
 }
Example #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);
        }
Example #3
0
 public CheckBox(AutomationElement element, CheckListView parent)
     : base(element)
 {
     Name = (string)Element.GetCurrentPropertyValue(AutomationElement.NameProperty);
 }
Example #4
0
 public CheckBox(AutomationElement element, CheckListView parent)
     : base(element) {
     Name = (string)Element.GetCurrentPropertyValue(AutomationElement.NameProperty);
 }