Skip to main content

XRChart.CustomDrawCrosshair Event

Occurs before crosshair items are drawn when the chart’s contents are being drawn.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[Browsable(false)]
public event CustomDrawCrosshairEventHandler CustomDrawCrosshair

Event Data

The CustomDrawCrosshair event's data class is CustomDrawCrosshairEventArgs. The following properties provide information specific to this event:

Property Description
CrosshairAxisLabelElements Gets the settings of crosshair axis label elements to customize their appearance.
CrosshairElementGroups Provides access to the settings of crosshair elements and crosshair group header elements to customize their appearance.
CrosshairElements Obsolete. Gets the settings of crosshair elements (crosshair value lines, crosshair value labels, crosshair labels) to customize their appearance.
CrosshairGroupHeaderElements Obsolete. Gets the settings of crosshair group header elements to customize their appearance.
CrosshairLegendElements Returns crosshair legend elements to customize their appearance.
CrosshairLineElement Gets the settings of a crosshair line element to customize its appearance (color, line style).
IndicatorLegendElements Returns all indicator elements that the Crosshair Cursor shows in a legend.

Remarks

Use the CustomDrawCrosshair event, to create a custom appearance of crosshair items.

See Also