[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IUniqueValues.Interior

Interior Property

Interior

Gets an instance of IInterior that represents the background color of this conditional format.

Use the returned IInterior object to configure the fill formatting that is applied when the unique-values or duplicate-values conditional formatting rule evaluates to true.

Declaration
IInterior Interior { get; }
ReadOnly Property Interior As IInterior
Examples
worksheet.Range["A1:A5"].Value = new object[,] {
    {100}, {100}, {200}, {300}, {300}
};
IUniqueValues condition = worksheet.Range["A1:A5"].FormatConditions.AddUniqueValues();
IInterior interior = condition.Interior;
interior.Color = Color.Yellow;