[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITop10.Type

Type Property

Type

Gets the type of this conditional format.

Use this property to identify the conditional formatting rule type represented by this ITop10 instance. For a top or bottom N rule, the returned value is Top10.

Declaration
FormatConditionType Type { get; }
ReadOnly Property Type As FormatConditionType
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;
FormatConditionType type = top10.Type;