Back to Devexpress

XRChart.CustomDrawCrosshair Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-d0282929.md

latest2.4 KB
Original Source

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

csharp
[Browsable(false)]
public event CustomDrawCrosshairEventHandler CustomDrawCrosshair
vb
<Browsable(False)>
Public Event CustomDrawCrosshair As CustomDrawCrosshairEventHandler

Event Data

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

PropertyDescription
CrosshairAxisLabelElementsGets the settings of crosshair axis label elements to customize their appearance.
CrosshairElementGroupsProvides access to the settings of crosshair elements and crosshair group header elements to customize their appearance.
CrosshairLegendElementsReturns crosshair legend elements to customize their appearance.
CrosshairLineElementGets the settings of a crosshair line element to customize its appearance (color, line style).
IndicatorLegendElementsReturns 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

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace