[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITop10.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 formatting that is applied when the top 10 conditional formatting rule is triggered.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Examples
worksheet.Range["A1:A5"].Value = new object[,] {{10}, {30}, {20}, {50}, {40}};
ITop10 top10 = worksheet.Range["A1:A5"].FormatConditions.AddTop10();
top10.Interior.Color = Color.Yellow;
top10.Rank = 2;
IBorders borders = top10.Borders;
borders.LineStyle = BorderLineStyle.Thick;