Oversized Node gets centered when clicked

Hi,
I can zoom my diagram. Now if I have a node which is not fully visible in the diagram and click on this node, the node is centered in the view.
How can I change this? I don’t want the node to get centered when clicked!

That doesn’t happen normally. Maybe there is an element in your node that gets focus? If so, WPF will automatically scroll the control to make the focused element appear in the view. http://stackoverflow.com/questions/8384237/stop-wpf-scrollviewer-automatically-scrolling-to-perceived-content

The DiagramPanel implements IScrollInfo. I don’t know if overriding DiagramPanel.DoMakeVisible will satisfy your requirements.

Thanks, for the info - I will try.