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

Standalone connector

1 Answer 52 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 07 Jul 2020, 04:54 PM

I'm trying to make a Grid with "labeled" connectors. 

Each cell of the grid contains a TextBlock and a RadDiagramConnector. 

The problem is that the behavior of the standalone RadDiagramConnector in the grid cell is not the same as a RadDiagramConnector inside the RadDiagramShape.Connectors collection. It is for example not possible to use it as a target connector. It also loses its connection when used as a source connector, when the shape is dragged.

Is it possible to use the `RadDiagramConnector` standalone (not part of the RadDiagramShape.Connectors collection)? How would that be possible?

Thank you!

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 10 Jul 2020, 01:40 PM

Hello Dan,

RadDiagramConnector is designed to work in the template of the diagram shape elements. You can define it outside of the shape as a stand-alone control and the connector will get visualized but it won't function properly. 

If you share a drawing with the expected result and if you tell me why do you need to place connectors in cells I can think of an alternative solution.

Regards,
Martin Ivanov
Progress Telerik

Tags
Diagram
Asked by
Dan
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or