Exemplo n.º 1
0
 /// <summary>
 /// Adds a row to this grid layout.
 /// </summary>
 /// <param name="row">The specification for that row.</param>
 public void AddRow(GridRowSpec row)
 {
     if (row == null)
     {
         throw new ArgumentNullException("row");
     }
     rows.Add(row);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a row to this panel.
 /// </summary>
 /// <param name="row">The specification for that row.</param>
 /// <returns>This panel for call chaining.</returns>
 public PGridPanel AddRow(GridRowSpec row)
 {
     if (row == null)
     {
         throw new ArgumentNullException("row");
     }
     rows.Add(row);
     return(this);
 }