Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

I have the requirement to restrict the movement of nodes inside the Diagram page settings. The below sample

https://www.syncfusion.com/kb/11521/how-to-restrict-the-diagram-objects-dragging-in-the-positive-side-in-the

"works", but has the problem, that it does not take zooming into account. I set the limits as

Diagram.ScrollSettings.EditableArea = new Rect(0, 0, bitmap.Width, bitmap.Height) where the bitmap holds a background image.

This means, as long as there is no zooming factor for the diagram the limit works as expected, but as soon as I zoom in, it does not recognize that the diagram's limits are different then.

Regards

Thomas