[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBarBorder.Type

Type Property

Type

Gets the border type for data bars specified by a conditional formatting rule.

The returned value indicates whether the data bar border is disabled or displayed as a solid border.

Declaration
DataBarBorderType Type { get; set; }
Property Type As DataBarBorderType
Examples
worksheet.Range["A1:A5"].Value = new object[,] {{1}, {2}, {3}, {4}, {5}};
IDataBar dataBar = worksheet.Range["A1:A5"].FormatConditions.AddDatabar();
IDataBarBorder border = dataBar.BarBorder;
border.Type = DataBarBorderType.Solid;
DataBarBorderType type = border.Type;