Back to Devexpress

CustomDrawCrosshairEventArgs.CrosshairLineElement Property

wpf-devexpress-dot-xpf-dot-charts-dot-customdrawcrosshaireventargs-03b01b02.md

latest1.8 KB
Original Source

CustomDrawCrosshairEventArgs.CrosshairLineElement Property

Gets the settings of a crosshair line element to customize its appearance (color, line style).

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public CrosshairLineElement CrosshairLineElement { get; }
vb
Public ReadOnly Property CrosshairLineElement As CrosshairLineElement

Property Value

TypeDescription
CrosshairLineElement

A CrosshairLineElement object representing the crosshair line element to custom draw.

|

Remarks

Use the CrosshairLineElement property to get access to the settings of either a crosshair argument line element (the CrosshairOptions.SnapMode property is set to NearestArgument ) or a crosshair value line element (the CrosshairOptions.SnapMode property is set to NearestValue ) when implementing the ChartControl.CustomDrawCrosshair event.

See Also

CustomDrawCrosshairEventArgs Class

CustomDrawCrosshairEventArgs Members

DevExpress.Xpf.Charts Namespace