public int IndexOf(DataTreeGridItem item) { if (this.items == null) { return(-1); } return(this.items.IndexOf(item)); }
public IEnumerable <DataTreeGridItem> GetChildren(DataTreeGridItem item) { if (this.items == null) { return(null); } return(this.items.GetChildren(item)); }
public DataTreeGridItem GetParent(DataTreeGridItem item) { if (this.items == null) { return(null); } return(this.items.GetParent(item)); }
public IEnumerable <DataTreeGridItem> GetAllParents(DataTreeGridItem item) { if (this.items == null) { return(null); } return(this.items.GetAllParents(item)); }
public void AttachItem(DataTreeGridItem item) { item.DataTreeGrid = this; item.UpdateIndentationWidth(); }