This project is read-only.

Set Vertex immovable

Apr 1, 2012 at 11:19 AM

Hi

I want my vertices to be immovable. Setting IsEnabled to false is no option for me, because this disables the ability to drop as well, which I need.

Regards

Apr 2, 2012 at 10:55 AM

Ok,, with

<Setter Property="extbehaviour:DragBehaviour.IsDragEnabled" Value="False" />

the Vertex is immovable inside the graph. My new problem is, that the whole graph is still movable and the IsDragEnabled-Property above doesn't work on the graph. Any ideas?

Apr 4, 2012 at 9:28 PM

Take your graph out of a ZoomControl.   The ZoomControl is what allows panning.