This is a migrated thread and some comments may be shown as answers.

Displaying the distance between 2 shapes in connection content

1 Answer 65 Views
Diagram, DiagramRibbonBar, DiagramToolBox
This is a migrated thread and some comments may be shown as answers.
florian
Top achievements
Rank 1
florian asked on 18 Apr 2018, 03:28 PM

Hello, 

I would like to implement a custom connection content, depending on the size of the connection.

Basically, I would like to display the distance between the 2 Shapes that are linked by the connection.

I have tried to play with  OnConnectionManipulationCompleted event, and I'm able to display that info at the creation of the connection, but it's never refreshed.

Do you know how if I can refresh that info while I'm dragging a shape ?

Thanks

1 Answer, 1 is accepted

Sort by
0
florian
Top achievements
Rank 1
answered on 03 May 2018, 09:50 AM

I have finally used the OnDragging event to refresh all the connections of the diagram

Problem solved for me

Tags
Diagram, DiagramRibbonBar, DiagramToolBox
Asked by
florian
Top achievements
Rank 1
Answers by
florian
Top achievements
Rank 1
Share this question
or