Skip to main content
All docs
V24.1

HeatmapDiagram.BorderVisible Property

Gets or sets whether the diagram border is visible.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool BorderVisible { get; set; }

Property Value

Type Description
Boolean

true if the border is visible; otherwise, false.

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