Exemplo n.º 1
0
 protected void Changed()
 {
     if (columns != null && columns.owner != null)
     {
         TreeGrid1.FillGridColumn(this, columns.owner.realGrid.Columns[columns.IndexOf(this)]);
     }
 }
Exemplo n.º 2
0
            public TreeStructure this[int index]
            {
                get
                {
                    if (children.Count == 0 && Count != 0)
                    {
                        for (int i = 0; i < Count; i++)
                        {
                            children.Add(null);
                        }
                    }
                    if (children.Count > index)
                    {
                        if (children[index] == null)
                        {
                            children[index] = new TreeGrid1 <T> .TreeStructure();

                            children[index].data   = owner.TreeModel.Children[data, index];
                            children[index].parent = this;
                            children[index].level  = level + 1;
                            children[index].owner  = owner;
                        }
                        return(children[index]);
                    }
                    return(null);
                }
            }
Exemplo n.º 3
0
 public ColumnCollection(TreeGrid1 owner)
 {
     this.owner = owner;
 }