public void Add (DynamicItem item) { if (CurrentRow != null) CurrentRow.Items.Add (item); else AddRow (item); }
public void AddRow(DynamicItem item) { var row = new DynamicRow (); row.Items.Add (item); rows.Add (row); }