[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IUniqueValues.Borders

Borders Property

Borders

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

Use the returned IBorders object to configure border formatting for cells that match this IUniqueValues rule.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Examples
worksheet.Range["A1:A5"].Value = new object[,] {
    {100}, {100}, {200}, {300}, {400}
};
IUniqueValues condition = worksheet.Range["A1:A5"].FormatConditions.AddUniqueValues();
condition.Interior.Color = Color.Yellow;
IBorders borders = condition.Borders;
borders.LineStyle = BorderLineStyle.DashDotDot;