Skip to main content
All docs
V24.1

SankeyBorderOptions.Color Property

Gets or sets the diagram border’s color.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public Color Color { get; set; }

Property Value

Type Description
Color

A color that is used to paint the border.

Property Paths

You can access this nested property as listed below:

Object Type Path to Color
SankeyDiagramControl
.BorderOptions .Color

Remarks

Example

The following code example specifies the border color and thickness for a Sankey diagram:

using DevExpress.XtraCharts.Sankey;
using System.Drawing;
//...
  private void Form1_Load(object sender, EventArgs e) {
      sankeyDiagramControl1.BorderOptions.Color = Color.DarkGray;
      sankeyDiagramControl1.BorderOptions.Thickness = 2;
  }
See Also