public virtual void RemoveRow(MemoTableRow row) { Contract.Requires(row != null); var index = _rows.IndexOf(row); if (index > -1) { RemoveRowAt(index); } }
// ======================================== // method // ======================================== // --- row --- public virtual void AddRowInternal(MemoTableRow row) { Contract.Requires(row != null); _rows.Add(row); }
public virtual void InsertRow(int index, MemoTableRow row) { _rows.Insert(index, row); ++_rowCount; OnPropertyAdded(this, "Rows", row, index); }