Ejemplo n.º 1
0
 /// <summary>
 /// Creates a <see cref="TreeItem"/> element.
 /// </summary>
 public TreeItem(FrameworkAutomationElementBase frameworkAutomationElement) : base(frameworkAutomationElement)
 {
     _selectionItemAutomationElement  = new SelectionItemAutomationElement(frameworkAutomationElement);
     _expandCollapseAutomationElement = new ExpandCollapseAutomationElement(frameworkAutomationElement);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a <see cref="TreeItem"/> element.
 /// </summary>
 public TreeItem(BasicAutomationElementBase basicAutomationElement) : base(basicAutomationElement)
 {
     _selectionItemAutomationElement  = new SelectionItemAutomationElement(basicAutomationElement);
     _expandCollapseAutomationElement = new ExpandCollapseAutomationElement(basicAutomationElement);
 }