Пример #1
0
        protected virtual DataPropertyDescriptor GetPropertyDescriptor(DataGridViewColumn column)
        {
            var propertyName = column.DataPropertyName;

            if (string.IsNullOrEmpty(propertyName))
            {
                return(null);
            }
            return(_itemProperties.FirstOrDefault(pd => pd.Name == column.DataPropertyName));
        }