[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITop10.Delete

Delete Method

Delete()

Deletes this conditional format.

Use this method to remove the current top or bottom conditional formatting rule from the worksheet.

Declaration
void Delete()
Sub Delete()
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;
top10.Delete();