public FlxValueTreeViewItem(FlxValue value, int depth = 0, FlxValueTreeViewItem parent = null, string key = "", FlxQuery query = null) { FlxValue = value; _depth = depth; _parent = parent; _key = key; _query = query; }
protected override TreeViewItem BuildRoot() { var root = new TreeViewItem { id = -1, depth = -1, displayName = "Root" }; var flxRoot = new FlxValueTreeViewItem(_rootValue, query: _query); root.AddChild(flxRoot); return(root); }