[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IAboveAverage.Borders

Borders Property

Borders

Gets an instance of IBorders which represents the borders of this conditional format.

Use the returned IBorders object to configure the border style that is applied when this above-average conditional formatting rule evaluates to true.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Examples
worksheet.Range["A1:A5"].Value = new object[,] {{10}, {20}, {30}, {40}, {50}};
IAboveAverage format = worksheet.Range["A1:A5"].FormatConditions.AddAboveAverage();
format.Interior.Color = Color.Yellow;
IBorders borders = format.Borders;
borders.Color = Color.Red;