public void AddRow(DataTableRow row) { for (var i = 0; i < row.Cells.Count; i++) { if (row.Cells[i].Length > _maxColumnLengths[i]) { _maxColumnLengths[i] = row.Cells[i].Length; } } _rows.Add(row); NotifyItemInserted(_rows.Count - 1); }
public ItemLongClickEventArgs(int position, DataTableRow row) { Position = position; Row = row; }