XRChart.CustomDrawCrosshair Event
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
Declaration
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. |
| 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