public void TestInitialize()
 {
     _app = new WindowsAppFriend(Process.Start(Target.Path));
     var main = WindowControl.FromZTop(_app);
     var a = new Async();
     new WPFButtonBase(main.Dynamic()._buttonXamDataTree).EmulateClick(a);
     _dlg = main.WaitForNextModal();
     _tree = new XamDataTreeDriver(_dlg.Dynamic()._tree);
 }
 internal XamDataTreeNodeDriver(XamDataTreeDriver tree, AppVar nodeData)
     : base((AppVar)nodeData.Dynamic().Control)
 {
     Tree = tree;
     NodeData = nodeData.Dynamic();
 }