Ejemplo n.º 1
0
 public TableGroup(TableGroup prototype) : base(prototype)
 {
     _expanded = prototype.Expanded;
     Rows      = new TableRows();
     Groups    = new TableGroups();
     Table.CopyRows(prototype.Rows, Rows);
     Table.CopyGroups(prototype.Groups, Groups);
 }
Ejemplo n.º 2
0
 public TableGroup(TableGroup prototype) : base(prototype)
 {
     mExpanded = prototype.Expanded;
     Rows      = new TableItems(typeof(TableRow));
     Groups    = new TableItems(typeof(TableGroup));
     Table.CopyRows(prototype.Rows, Rows);
     Table.CopyGroups(prototype.Groups, Groups);
 }
Ejemplo n.º 3
0
        public Table(Table prototype) : base(prototype)
        {
            mHeadingHeight    = prototype.HeadingHeight;
            mHeading          = prototype.Heading;
            mSubHeading       = prototype.SubHeading;
            mGroupHeight      = prototype.GroupHeight;
            mRowHeight        = prototype.RowHeight;
            mRowIndent        = prototype.Indent;
            mExpanded         = prototype.Expanded;
            mDrawExpand       = prototype.DrawExpand;
            mForecolor        = prototype.Forecolor;
            GradientColor     = prototype.GradientColor;
            mDrawSelectedItem = prototype.DrawSelectedItem;
            mFont             = prototype.Font;

            ContractedSize = prototype.ContractedSize;
            ExpandedSize   = prototype.ExpandedSize;

            Groups = new TableItems(typeof(TableGroup));
            Rows   = new TableItems(typeof(TableRow));

            Table.CopyGroups(prototype.Groups, Groups);
            Table.CopyRows(prototype.Rows, Rows);
        }
Ejemplo n.º 4
0
        public Table(Table prototype) : base(prototype)
        {
            _headingHeight    = prototype.HeadingHeight;
            _heading          = prototype.Heading;
            _subHeading       = prototype.SubHeading;
            _groupHeight      = prototype.GroupHeight;
            _rowHeight        = prototype.RowHeight;
            _rowIndent        = prototype.Indent;
            _expanded         = prototype.Expanded;
            _drawExpand       = prototype.DrawExpand;
            _forecolor        = prototype.Forecolor;
            GradientColor     = prototype.GradientColor;
            _drawSelectedItem = prototype.DrawSelectedItem;
            _font             = prototype.Font;

            ContractedSize = prototype.ContractedSize;
            ExpandedSize   = prototype.ExpandedSize;

            Groups = new TableGroups();
            Rows   = new TableRows();

            Table.CopyGroups(prototype.Groups, Groups);
            Table.CopyRows(prototype.Rows, Rows);
        }