public ObjectViewer(MemoryGraph graph, RefGraph refGraph, List <NodeIndex> focusNodes = null) { InitializeComponent(); // Wire up our behavior into the generic TreeViewGrid. This defines the columns and how to get a child nodes. TreeViewGrid.SetController(new ObjectViewerTreeViewController(graph, refGraph, focusNodes)); }
internal TreeViewGridNode(TreeViewGrid treeView, object data, TreeViewGridNode parent) { m_treeView = treeView; Data = data; m_isExpanded = !HasChildren; m_parent = parent; if (parent != null) { m_depth = parent.m_depth + 1; } }