public TransformationsGridColumnCollection(TransformationsGrid grid) : base(grid) { TransformationsGrid = grid; PhoneNumber = new GridPlainTextColumn(this, "PhoneNumber") { MaxLength = Transformation.Lengths.PhoneNumber.ToDefaultString() }; Email = new GridPlainTextColumn(this, "Email") { MaxLength = Transformation.Lengths.Email.ToDefaultString() }; Items = new GridColumn[] { PhoneNumber, Email }; }
public TransformationsGridRow(TransformationsGrid grid) : base(grid) { TransformationsGrid = grid; PhoneNumber = new GridPlainTextCell(this, grid.TransformationsColumns.PhoneNumber); Email = new GridPlainTextCell(this, grid.TransformationsColumns.Email); cells = new GridCell[] { PhoneNumber, Email }; }