officefileapi-devexpress-dot-spreadsheet-dot-databarconditionalformatting.md
Gets or sets the data bar border color.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
Color BorderColor { get; set; }
Property BorderColor As Color
| Type | Description |
|---|---|
| Color |
A Color object that specifies the border line color.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the BorderColor property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.
See Also
DataBarConditionalFormatting Interface