Пример #1
0
        protected TreeNode(object dataItem, ITreeNodeContainer parent, ITreeNodesOperation treeNodesOperation)
        {
            _dataItem           = dataItem;
            _parent             = parent;
            _treeNodesOperation = treeNodesOperation;

            _name = _dataItem is IDisplayItem ? ((IDisplayItem)_dataItem).DisplayName : _dataItem.ToString();
        }
Пример #2
0
 public TreeNodeData(object dataItem, ITreeNodeContainer parent, ITreeNodesOperation treeNodesOperation) : base(dataItem, parent, treeNodesOperation)
 {
 }
Пример #3
0
 public TreeNodeContainer(object dataItem, ITreeNodeContainer parent, ITreeNodesOperation shellItemsOperation) : base(dataItem, parent, shellItemsOperation)
 {
     Children.Add(DummyChild);
 }