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

Connectors on custom shape not visible

1 Answer 17 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Nebojsa
Top achievements
Rank 1
Nebojsa asked on 20 Sep 2014, 09:54 PM
Hi. I'm trying to create diagram with custom shapes in MVVM application. I've managed to implement custom shapes, show them in toolbox and drag/drop them to diagram (I had to override Serialize/Deserialize methods in order to preserve some data from view model). The problem is that once custom shape is dropped on diagram, it's connectors are not visible, so shapes cannot be connected when diagram's active tool is ConnectorTool. I've searched in telerik's tutorials for scenario like this, but I couldn't find anything. 

Can you please help me with this issue?

1 Answer, 1 is accepted

Sort by
0
Nebojsa
Top achievements
Rank 1
answered on 22 Sep 2014, 05:31 PM
I've been browsing your forum thoroughly and found the the cause of my problem (and a solution, too). When I've redefined style for my custom shape, I didn't include ConnectorsControl, so now custom shapes appear with connectors. 
Tags
Diagram
Asked by
Nebojsa
Top achievements
Rank 1
Answers by
Nebojsa
Top achievements
Rank 1
Share this question
or