/// <summary> /// Constructor of the object. /// </summary> /// <param name="_id">string</param> /// <param name="_headerText">string</param> /// <param name="_showCloseButton">bool</param> public TreeTabItem(string _id, string _headerText, bool _showCloseButton) { this.type = TreeItem.TREEITEM_TYPE.MAIN; this.id = _id; TabHeader header = new TabHeader(_headerText, _showCloseButton); this.Header = header; }