Back to Devexpress

DataBarConditionalFormatting.AxisColor Property

officefileapi-devexpress-dot-spreadsheet-dot-databarconditionalformatting-346956d9.md

latest3.2 KB
Original Source

DataBarConditionalFormatting.AxisColor Property

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

Declaration

csharp
Color AxisColor { get; set; }
vb
Property AxisColor As Color

Property Value

TypeDescription
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.

spreadsheet-document-api-apply-conditional-formatting-to-cell-range/VB/ConditionalFormatting_Example/SpreadsheetActions/ConditionalFormatting.vb#L293

vb
' Set the axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue
' Set the value corresponding to the shortest bar to 0 percent.

winforms-spreadsheet-apply-conditional-formatting-to-a-range-of-cells/VB/SpreadsheetControl/SpreadsheetActions/ConditionalFormatting.vb#L290

vb
' Set the axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue

wpf-spreadsheet-how-to-apply-conditional-formatting-to-a-range-of-cells/VB/ConditionalFormatting_WPF_Examples/SpreadsheetActions/ConditionalFormatting.vb#L287

vb
' Set the axis color to dark blue.
cfRule1.AxisColor = Color.DarkBlue

See Also

DataBarConditionalFormatting Interface

DataBarConditionalFormatting Members

DevExpress.Spreadsheet Namespace