Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HeatmapControl.Border Property

Returns the heatmap border settings.

Namespace: DevExpress.XtraCharts.Heatmap

Assembly: DevExpress.XtraCharts.v24.2.UI.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public RectangularBorder Border { get; }

#Property Value

Type Description
RectangularBorder

Contains options for a rectangular border.

#Remarks

The following is an example of heatmap border settings, such as color, thickness, and visibility.

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

namespace HeatmapMatrixAdapterSample {

    public partial class Form1 : Form {
        HeatmapControl heatmap;

        public Form1() {
            InitializeComponent();

            heatmap = new HeatmapControl();
            heatmap.Name = "Heatmap";
            heatmap.Dock = DockStyle.Fill;
            this.Controls.Add(heatmap);

            heatmap.Border.Thickness = 1;
            heatmap.Border.Color = Color.DarkGray;
            heatmap.Border.Visibility = DefaultBoolean.True;

        }
    }
}
See Also