officefileapi-devexpress-dot-spreadsheet-dot-databarconditionalformatting-fe7a22f1.md
Gets or sets the negative bar fill color.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
Color NegativeBarColor { get; set; }
Property NegativeBarColor As Color
| Type | Description |
|---|---|
| Color |
A Color object that specifies the color of the negative bar.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the NegativeBarColor 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 negative bar color to red.
cfRule1.NegativeBarColor = DXColor.Red
' Set the negative bar border color to red.
' Set the negative bar color to red.
cfRule1.NegativeBarColor = DXColor.Red
' Set the negative bar border color to red.
' Set the negative bar color to red.
cfRule1.NegativeBarColor = DXColor.Red
' Set the negative bar border color to red.
See Also
DataBarConditionalFormatting Interface