Skip to main content

LegendItem.CrosshairText Property

For internal use. Gets or sets the visibility of a legend item’s crosshair text.

Namespace: DevExpress.Xpf.Charts

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


public string CrosshairText { get; set; }

Property Value

Type Description

A String value.


The Crosshair Cursor displays its content in the legend when the CrosshairOptions.ContentShowMode (XYSeries2D.CrosshairContentShowMode) property is set to Legend. Use the CrosshairLabelElementBase.Text property to specify a legend item crosshair text’s font style when custom drawing the Crosshair using the ChartControl.CustomDrawCrosshair event handler.

Refer to Tooltip and Crosshair Cursor for more information.

See Also