Skip to main content
All docs
V25.1
  • HeatmapControl.Border Property

    Returns the heatmap border settings.

    Namespace: DevExpress.XtraCharts.Heatmap

    Assembly: DevExpress.XtraCharts.v25.1.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