Esempio n. 1
0
 public TreeViewItem(BasicAutomationElementBase basicAutomationElement)
     : base(basicAutomationElement)
 {
     this.selectionItemAutomationElement  = new SelectionItemAutomationElement(basicAutomationElement);
     this.expandCollapseAutomationElement = new ExpandCollapseAutomationElement(basicAutomationElement);
     this.treeViewItemCondition           = this.ConditionFactory.ByControlType(ControlType.TreeItem);
 }
 public MenuItem(BasicAutomationElementBase basicAutomationElement)
     : base(basicAutomationElement)
 {
     this.invokeAutomationElement         = new InvokeAutomationElement(basicAutomationElement);
     this.expandCollapseAutomationElement = new ExpandCollapseAutomationElement(basicAutomationElement);
 }