internal TreeViewDataItem(object dataItem, string childrenPropertyName, TreeViewDataItem parent) { if (dataItem == null) { throw new ArgumentNullException("dataItem"); } if (childrenPropertyName == null) { throw new ArgumentNullException("childrenPropertyName"); } _dataItem = dataItem; _childrenPropertyName = childrenPropertyName; _parent = parent; }