示例#1
0
 public int IndexOf(DataTreeGridItem item)
 {
     if (this.items == null)
     {
         return(-1);
     }
     return(this.items.IndexOf(item));
 }
示例#2
0
 public IEnumerable <DataTreeGridItem> GetChildren(DataTreeGridItem item)
 {
     if (this.items == null)
     {
         return(null);
     }
     return(this.items.GetChildren(item));
 }
示例#3
0
 public DataTreeGridItem GetParent(DataTreeGridItem item)
 {
     if (this.items == null)
     {
         return(null);
     }
     return(this.items.GetParent(item));
 }
示例#4
0
 public IEnumerable <DataTreeGridItem> GetAllParents(DataTreeGridItem item)
 {
     if (this.items == null)
     {
         return(null);
     }
     return(this.items.GetAllParents(item));
 }
示例#5
0
 public void AttachItem(DataTreeGridItem item)
 {
     item.DataTreeGrid = this;
     item.UpdateIndentationWidth();
 }