Back to Devexpress

DataBarConditionalFormatting.BorderColor Property

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

latest3.2 KB
Original Source

DataBarConditionalFormatting.BorderColor Property

Gets or sets the data bar border color.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

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

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

vb
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.

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

vb
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.

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

vb
' Set the positive bar border color to green.
cfRule1.BorderColor = DXColor.Green
' Set the negative bar color to red.

See Also

DataBarConditionalFormatting Interface

DataBarConditionalFormatting Members

DevExpress.Spreadsheet Namespace