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

Chart3DControl.HideCrosshair() Method

In This Article

Hides the Crosshair Cursor.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void HideCrosshair()

#Remarks

The following example hides the Crosshair Cursor:

<dxc:Chart3DControl x:Name="chart" ...>
  ...
</dxc:Chart3DControl>
chart.HideCrosshair();

You can use the ShowCrosshair(Point) or ShowCrosshair(Point, Boolean) method to show the Crosshair Cursor at the point with the specified coordinates relative to the 3D chart’s top-left corner.

See Also