コード例 #1
0
 /// <summary>
 /// Adds a child item
 /// </summary>
 /// <param name="in_child"></param>
 public void AddChild(TreeViewItemBase in_child)
 {
     in_child.SetParent(this);
     m_children.Add(in_child);
 }
コード例 #2
0
 /// <summary>
 /// Sets item logical parent
 /// </summary>
 /// <param name="in_parent"></param>
 public void SetParent(TreeViewItemBase in_parent)
 {
     m_item_parent = in_parent;
 }