QueryChartCursorEventArgs.CursorImage Property
In This Article
Provides an image for the custom cursor.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Image |
A Image |
#Remarks
Use the CursorImage property to specify the appearance for a custom cursor.
#Examples
This example shows how to display a custom cursor when the mouse pointer is hovering over the chart control.
To accomplish this task, handle the ChartControl.QueryChartCursor event and assign your custom image (e.g., a BitmapImage object loaded from application resources) to the QueryChartCursorEventArgs.CursorImage property.
Note that you need to include your image in the project and set the QueryChartCursorEventArgs.Cursor property to None to see the custom image in the chart control.
See Also