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

ActiveTool=MouseTool.ConnectorTool Does not work for MVVM

1 Answer 61 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Sammy
Top achievements
Rank 1
Sammy asked on 17 Jul 2014, 05:11 AM
Hi,

I apply mvvm pattern for RadDiagram. Both shapes and connections are bound to classes that derive from the Diagram.Extension classes. Everything works quite fine except, I cannot add new connection using the ActiveTool=MouseTool.ConnectorTool. When I set the ActiveTool to Connector tool, the mouse cursor changes to connector mode but it does not draw any arrow when clicked and moved on the Diagram. How can I provide the functionality to add connections between the shapes and keep the MVVM pattern?

Thanks in advance,
Semih

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 21 Jul 2014, 12:44 PM
Hi Semih,

I tried to reproduce the reported behavior on our side with our latest official release and it seems that the code works as expected. I am able to create connections in the attached project. Could you please change the code so that the the issue can be reproduced and send it over? This will help us further investigate the reasons behind the reported behavior.

Thank you for your cooperation.

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Diagram
Asked by
Sammy
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or