Back to Devexpress

HeatmapControl.Border Property

windowsforms-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapcontrol-c09aec95.md

latest2.5 KB
Original Source

HeatmapControl.Border Property

Returns the heatmap border settings.

Namespace : DevExpress.XtraCharts.Heatmap

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

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public RectangularBorder Border { get; }
vb
Public ReadOnly Property Border As RectangularBorder

Property Value

TypeDescription
RectangularBorder

Contains options for a rectangular border.

|

Remarks

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

csharp
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;

        }
    }
}
vb
Imports DevExpress.XtraCharts
Imports DevExpress.XtraCharts.Heatmap
Imports System.Drawing

Namespace HeatmapMatrixAdapterSample
    Public Partial Class Form1
        Inherits Form

        Private heatmap As HeatmapControl

        Public Sub New()
            InitializeComponent()
            heatmap = New HeatmapControl()
            heatmap.Name = "Heatmap"
            heatmap.Dock = DockStyle.Fill
            Me.Controls.Add(heatmap)
            heatmap.Border.Thickness = 1
            heatmap.Border.Color = Color.DarkGray
            heatmap.Border.Visibility = DefaultBoolean.[True]
        End Sub
    End Class
End Namespace

See Also

HeatmapControl Class

HeatmapControl Members

DevExpress.XtraCharts.Heatmap Namespace