Skip to main content

CrosshairLabelElementBase.Text Property

Gets or sets the crosshair label's text.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public string Text { get; set; }

#Property Value

Type Description
String

A String value which represents the crosshair label's text.

#Remarks

Use the Text property when custom drawing a crosshair specific label element (a crosshair axis label, crosshair group header element or common crosshair label) using the ChartControl.CustomDrawCrosshair event.

Before using the Text property, make sure the ChartControl.CrosshairEnabled property is set to true.

For more information, refer to Crosshair Cursor.

See Also