Back to Devexpress

HeatmapLabel.Font Property

corelibraries-devexpress-dot-xtracharts-dot-heatmap-dot-heatmaplabel-d7830c43.md

latest2.4 KB
Original Source

HeatmapLabel.Font Property

Gets or sets the heatmap label font.

Namespace : DevExpress.XtraCharts.Heatmap

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[Browsable(false)]
public Font Font { get; set; }
vb
<Browsable(False)>
Public Property Font As Font

Property Value

TypeDescription
Font

The font that is used to display heatmap label text.

|

Remarks

Important

Use the HeatmapLabel.DXFont property instead of Font to specify the heatmap label font.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Font property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-heatmap-bind-to-data-source/CS/Form1.cs#L45

csharp
heatmap.Label.Visible = true;
heatmap.Label.Font = new Font("SegoeUI", 6);
heatmap.Label.Pattern = "{V}";

winforms-heatmap-bind-to-data-source/VB/Form1.vb#L30

vb
Me.heatmap.Label.Visible = True
Me.heatmap.Label.Font = New System.Drawing.Font("SegoeUI", 6)
Me.heatmap.Label.Pattern = "{V}"

See Also

HeatmapLabel Class

HeatmapLabel Members

DevExpress.XtraCharts.Heatmap Namespace