Back to Devexpress

HeatmapLabel.TextOrientation Property

wpf-devexpress-dot-xpf-dot-charts-dot-heatmap-dot-heatmaplabel-b83c9806.md

latest2.1 KB
Original Source

HeatmapLabel.TextOrientation Property

Gets or sets the text orientation for heatmap labels.

Namespace : DevExpress.Xpf.Charts.Heatmap

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public TextOrientation TextOrientation { get; set; }
vb
Public Property TextOrientation As TextOrientation

Property Value

TypeDescription
TextOrientation

Specifies text orientation.

|

Available values:

NameDescription
Horizontal

The series labels are horizontal.

| | TopToBottom |

The series labels are vertical, rotated clockwise.

| | BottomToTop |

The series labels are vertical, rotated counterclockwise.

|

Example

The following example shows how to display cell labels, format the label text, and configure label appearance:

xaml
<dxh:HeatmapControl.Label>
    <dxh:HeatmapLabel Foreground="Black" 
                      Background="#70ffffff" 
                      Padding="2" 
                      TextOrientation="Horizontal"
                      TextPattern="${V}M"/>
</dxh:HeatmapControl.Label>

See Also

HeatmapLabel Class

HeatmapLabel Members

DevExpress.Xpf.Charts.Heatmap Namespace