public GetPrimaryPresentationNode ( |
||
hostNode | ||
return |
public void AddChildNode(TreeNode treeNode) { if (childNodes == null) { childNodes = new List <TreeNode>(); } this.childNodes.Add(treeNode); treeNode.parentNode = this; //--------------------------- //add treenode presentaion if (this.isOpen) { if (this.nodeContent != null) { //add child presentation nodeContent.AddChild( treeNode.GetPrimaryPresentationNode(nodeContent)); } } //--------------------------- }
public void AddChildNode(TreeNode treeNode) { if (childNodes == null) { childNodes = new List<TreeNode>(); } this.childNodes.Add(treeNode); treeNode.parentNode = this; //--------------------------- //add treenode presentaion if (this.isOpen) { if (this.nodeContent != null) { //add child presentation nodeContent.AddChild( treeNode.GetPrimaryPresentationNode(nodeContent)); } } //--------------------------- }