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.
Unfortunately, activation email could not send to your email. Please try again.

How to stop infinite scrolling?

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.

C#

Article ID: Published Date: Last Revised Date: Platform: Control:
6357 02/19/2016 02/19/2016 WPF SfDiagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.