/// <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); }
/// <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); }