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

Updating Scroll position when dragging node

Thread ID:





131034 Jun 17,2017 02:08 AM UTC Jun 20,2017 04:45 AM UTC WinForms 3
Tags: Diagram
Mark Atkinson
Asked On June 17, 2017 02:08 AM UTC

When dragging an object/node in a diagram, I noticed that the scroll position doesn't update when I drag the node close to (or beyond) the edge of the diagram.

What I seem to have to do is stop dragging, scroll or pan the diagram in place, then select and continue dragging the object to where I want it to be.

Is there a way to allow the diagram X/Y position to update as a node gets dragged beyond the visible rectangle of the diagram?


Naganathan Ganesh Babu [Syncfusion]
Replied On June 19, 2017 05:12 AM UTC

Hi Mark, 
Thanks for contacting Syncfusion support. 
If your intention is to make the scrollbars scroll automatically as the node/object moves out of the viewable area, then kindly set the following property  
//Scrolls both Horizontal and Vertical ScrollBars automatically when mouse moves out of the Viewable area 
this.diagram1.Autoscrolling = ScrollBars.Both; 
The AutoScrolling property is used to specify the direction for automatic scrolling when the user drags the mouse cursor out of the scrolling area. 
Naganathan K G 

Mark Atkinson
Replied On June 20, 2017 03:39 AM UTC

Thanks Naganathan,
That is working for me. 

If you want to close this support request, go ahead.

Naganathan Ganesh Babu [Syncfusion]
Replied On June 20, 2017 04:45 AM UTC

Hi Mark,

Thanks for your update.

We are happy to hear that your problem is resolved. Please let us know if you need any further assistance.


Naganathan K G


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

This page will automatically be redirected to the 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