Beispiel #1
0
 /// <summary>
 /// Sets the background color to all the
 /// cells in the row
 /// </summary>
 /// <param name="row">Row reference</param>
 /// <param name="color">Background color</param>
 public static void SetBackgroundColor(this Row row, SystemColor color)
 {
     if (row.IsNotValid() || !row.Any())
     {
         return;
     }
     row.Descendants <Cell>()
     .ToList()
     .ForEach(c => c.SetBackgroundColor(color));
 }