[]
Gets a FormatColor object that you can use to specify the border color for negative data bars.
Use the returned IFormatColor object to customize the dedicated border color when BorderColorType is set to Color.
IFormatColor BorderColor { get; }
ReadOnly Property BorderColor As IFormatColor
worksheet.Range["A1:A4"].Value = new object[,] {{-10}, {-5}, {0}, {20}};
IDataBar dataBar = worksheet.Range["A1:A4"].FormatConditions.AddDatabar();
INegativeBarFormat negativeBarFormat = dataBar.NegativeBarFormat;
negativeBarFormat.BorderColorType = DataBarNegativeColorType.Color;
IFormatColor borderColor = negativeBarFormat.BorderColor;
borderColor.Color = Color.Red;