Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
    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);
    }