Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XYDiagram2D.ShowCrosshair(Object, Object, AxisX2D, AxisY2D, Pane) Method

Shows the Crosshair Cursor at the point of the specified diagram coordinates related to the specified axes and pane.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void ShowCrosshair(
    object argument,
    object value,
    AxisX2D axisX = null,
    AxisY2D axisY = null,
    Pane pane = null
)

#Parameters

Name Type Description
argument Object

The argument value.

value Object

The value.

#Optional Parameters

Name Type Default Description
axisX AxisX2D null

The X-axis by which the argument is measured.

axisY AxisY2D null

The Y-axis by which the argument is measured.

pane Pane null

The pane on which the Crosshair Cursor should be shown.

See Also