Skip to main content
All docs
V24.1

HeatmapDiagram.BorderColor Property

Gets or sets the color used to paint the heatmap diagram border.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

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

Property Value

Type Description
Color

The color that is used to paint the heatmap diagram border.

Example

The following example specifies the Heatmap Control’s diagram background and border colors:

A heatmap diagram with default settings

using DevExpress.XtraCharts;
using DevExpress.XtraCharts.Heatmap;
using System.Drawing;

namespace HeatmapChartApp {
    public partial class Form1 : Form {
        public Form1() {
            InitializeComponent();
            //...
            heatmap.Diagram.BorderVisible = true;
            heatmap.Diagram.BorderColor = Color.Gray;
            heatmap.Diagram.BackColor = Color.LightGray;
        }
    }
}
See Also