i was wondering, if there is a simple way to set a maximum number of possible connections for diagram shape connector?
Moreover Is there a way to check actual connections for particular connector?
If there was i guess i could then check those and i could try not to allow user to create additional connection.
9 Answers, 1 is accepted
There is no built-in way to restrict the number of connections per Connector, but you can easily achieve this.
You should handle the ConnectionManipulationStarted/Completed event and in the event arguments, you can check something like the following and mark the event as handled - this will prevent the user from creating the connection:
Please let us know if this is working for you. Regards,
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
It works, thank you very much!
it works, thank you very much for great support!