officefileapi-devexpress-dot-spreadsheet-dot-databarconditionalformatting-346956d9.md
Gets or sets the color of the axis between positive and negative bars.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
Color AxisColor { get; set; }
Property AxisColor As Color
| Type | Description |
|---|---|
| Color |
A Color object that specifies the axis color.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the AxisColor 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 axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue
' Set the value corresponding to the shortest bar to 0 percent.
' Set the axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue
' Set the axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue
See Also
DataBarConditionalFormatting Interface