private void OnFieldsChanged() { bool b = true; int i0 = 0; if (_useExplicitHeader) { Cells[0].ResetColumns(); i0++; } for (int i = i0; i < Cells.Length; i++) { Row row = Cells[i]; row.ApplyColumns(Fields); b &= row.IsValid; } IsValid = b; }