コード例 #1
0
ファイル: Row.cs プロジェクト: yuva2achieve/WebGrid
        /// <summary>
        /// Initializes a new instance of the <see cref="Row">Row</see> class.
        /// </summary>
        /// <param name="table">The table that should contain this row.</param>
        ///<param name="createcells"></param>
        public Row(Table table, bool createcells)
        {
            m_Table = table;
            Cells   = new RowCellCollection(this);

            if (createcells)
            {
                foreach (Column column in Columns)
                {
                    Cells.Add(new RowCell(column.ColumnId, this));
                }
            }
        }
コード例 #2
0
ファイル: Row.cs プロジェクト: webgrid/WebGrid
        /// <summary>
        /// Initializes a new instance of the <see cref="Row">Row</see> class.
        /// </summary>
        /// <param name="table">The table that should contain this row.</param>
        ///<param name="createcells"></param>
        public Row(Table table, bool createcells)
        {
            m_Table = table;
            Cells = new RowCellCollection(this);

            if (createcells)
                foreach (Column column in Columns)
                    Cells.Add(new RowCell(column.ColumnId, this));
        }
コード例 #3
0
ファイル: Row.cs プロジェクト: webgrid/WebGrid
 /// <summary>
 /// Initializes a new instance of the <see cref="Row">Row</see> class.
 /// </summary>
 /// <param name="table">The table that should contain this row.</param>
 public Row(Table table)
 {
     m_Table = table;
     Cells = new RowCellCollection(this);
 }
コード例 #4
0
ファイル: Row.cs プロジェクト: yuva2achieve/WebGrid
 /// <summary>
 /// Initializes a new instance of the <see cref="Row">Row</see> class.
 /// </summary>
 /// <param name="table">The table that should contain this row.</param>
 public Row(Table table)
 {
     m_Table = table;
     Cells   = new RowCellCollection(this);
 }