private bool isByteArrayImageField(CellData item) { return (item.PropertyValue != null) && (item.PropertyValue.GetType() == typeof(byte[])) && (_columns[_col - 1].ColumnItemsTemplate is ByteArrayImageField); }