xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-d0282929.md
Occurs before crosshair items are drawn when the chart’s contents are being drawn.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[Browsable(false)]
public event CustomDrawCrosshairEventHandler CustomDrawCrosshair
<Browsable(False)>
Public Event CustomDrawCrosshair As CustomDrawCrosshairEventHandler
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. |
| 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. |
Use the CustomDrawCrosshair event, to create a custom appearance of crosshair items.
See Also