protected GridColumn(GridColumnCollection columnCollection, string name) { var logger = ObjectFactory.GetInstance<Logger>(); if (columnCollection == null) { logger.Error("[ViewModels].[Management].[GridColumn()] throwing exception ([columnCollection] == null)."); throw new ArgumentNullException("columnCollection"); } if (string.IsNullOrEmpty(name)) { logger.Error("[ViewModels].[Management].[GridColumn()] throwing exception ([name] == null)."); throw new ArgumentNullException("name"); } ColumnCollection = columnCollection; Name = name; Title = titleDefault; }
public GridListColumn(GridColumnCollection columnCollection, string name) : base(columnCollection, name) { DefaultCellValue = defaultCellValueDefault; CellItems = cellItemsDefault.ToList(); }