Код: Выделить всё
var valuesC = this.Charges.Where(x => x.Type == PropertyType.Charge).ToList();
foreach(var valueCharge in valuesC)
{
var column = Sheet.Column(valueCharge.Id);
foreach(var cell in column.Cells())
{
cell.AddConditionalFormat().WhenIsTrue($"ISNUMBER(${cell.Address})=FALSE").Fill.SetBackgroundColor(XLColor.Red);
}
}
Подробнее здесь: https://stackoverflow.com/questions/770 ... large-grou
Мобильная версия