We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the cursor of the annotation?

Platform: WPF |
Control: SfChart |
Published Date: May 13, 2015 |
Last Revised Date: June 27, 2019


Annotation is used to mark the specific area of interest in the chart area. This article describes how to change the cursor of the annotation.


Set the Cursor property to Hand in the line annotation as shown in the following code example. The hand cursor is viewed when the mouse is moved over the annotation.


                <Syncfusion:LineAnnotation Stroke="BlueViolet" CoordinateUnit="Axis"
                                    StrokeThickness="3" X1="0" Y1="40" X2="5" Y2="70"
                                    Cursor="Hand" LineCap="Arrow"/>                   </Syncfusion:SfChart.Annotations>


Cursor changed to hand type when hovered on annotation in WPF

Figure 1: Line annotation with hand cursor.

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon