protected virtual DataPropertyDescriptor GetPropertyDescriptor(DataGridViewColumn column) { var propertyName = column.DataPropertyName; if (string.IsNullOrEmpty(propertyName)) { return(null); } return(_itemProperties.FirstOrDefault(pd => pd.Name == column.DataPropertyName)); }