Skip to main content

Axis2D.CrosshairLabelTemplate Property

Specifies the template that defines the presentation of a crosshair label for the X-axis (Y-axis). This is a dependency property.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public DataTemplate CrosshairLabelTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A DataTemplate object.

#Examples

This example shows how to customize the visual representation of axis crosshair labels via their template.

To accomplish this, it is necessary to create a DataTemplate object that specifies the appearance of axis crosshair labels, and assign it to the Axis2D.CrosshairLabelTemplate property.

See Also