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

How to stop infinite scrolling?

Platform: WPF |
Control: SfDiagram |
Published Date: February 19, 2016 |
Last Revised Date: February 19, 2016

The Diagram can be scrolled horizontally or vertically infinitely, by default. This can be limited by using the ScrollLimit property of the PageSettings. Scrolling can be changed dynamically based on its content (nodes and connectors) or it can be limited to a specific rectangular region.

In some use cases the size of the Diagram is equal or larger than its content and in some other cases the Diagram may be hosted inside an external ScrollViewer. In such instances, the scroll limit can be set to the content of the Diagram as shown in the following code example.


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