예제 #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);
 }
예제 #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);
 }