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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing the Coursor Style

Thread ID:





61855 Jun 4,2007 09:19 AM UTC Jun 4,2007 10:49 AM UTC WinForms 1
Tags: Diagram
Faheem Rauf
Asked On June 4, 2007 09:19 AM UTC

Hi, I am trying to change the courser type. But it is not effecting, I am using the following code.
this.diagram1.Controller.Cursor = Resources.Cursors.Connect;
this.diagram1.Controller.Cursor = Cursors.Hand;
but the Courser does not changes. Please guide me I will be thankful to you. i am working on latest Syncfusion version.


Meera Fathima [Syncfusion]
Replied On June 4, 2007 10:49 AM UTC

Hi Ali,

I was able to see the issue that you have mentioned here. Could you please open a new DT incident with the subject of this forum? So that you can follow-up with that incident to get more details about the status of the issue.

Thank you for bringing this issue into our attention.

However you can work around the condition by setting the ActionCursor property of the current active tool within the DiagramViewerEventSink.ToolActivated() event method.

I have attached the sample image for your reference -

Below is the sample code snippet that shows above information.

((DiagramViewerEventSink)diagram1.EventSink).ToolActivated += new ToolEventHandler(Form1_ToolActivated);

void Form1_ToolActivated(ToolEventArgs evtArgs)
if (evtArgs.Tool is SelectTool)
Tool tool = this.diagram1.Controller.ActiveTool;
tool.ActionCursor = Resources.Cursors.Connect;

if (evtArgs.Tool is MoveTool)
Tool tool = this.diagram1.Controller.ActiveTool;
tool.ActionCursor = Cursors.Hand;

Please let me know whether above details provided are helpful to you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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