public ClassWindow()
        {
            InitializeComponent();

            _vm = ConfigerService.GetVM(new object[] { tmp }, null);
            configer.DataContext = _vm;
        }
        public static ConfigerViewModel GetVM(object[] configs, DescriptorInfoDict descriptor)
        {
            var nodes = GetNodes(configs, descriptor);
            var vm    = new ConfigerViewModel
            {
                Nodes = new ObservableCollection <ConfigItemNode>(nodes)
            };

            vm.Nodes[0].Selected = true;
            return(vm);
        }