Exemplo n.º 1
0
        protected override AutomationPeer OnCreateAutomationPeer()
        {
            if (automationPeer == null)
            {
                automationPeer = new TreeViewExAutomationPeer(this);
            }

            return(automationPeer);
        }
Exemplo n.º 2
0
 public TreeViewExItemAutomationPeer(TreeViewExItem treeViewExItem, TreeViewExAutomationPeer treeViewExAutomationPeer)
 {
     this.treeViewExItem           = treeViewExItem;
     this.treeViewExAutomationPeer = treeViewExAutomationPeer;
 }