I need toreplacethe RadDiagramConnection to the inherits class of RadDiagramConnection.
2 Answers, 1 is accepted
0
Petar Mladenov
Telerik team
answered on 18 Apr 2012, 06:42 AM
Hello Ruslan,
We are not sure we understand you correctly. Could you please elaborate more on your desired scenario ? Why do you need to inherit the RadDiagramConnection ? What do you need to customize exactly ?
Greetings,
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Perhaps I can ellaborate on why one would override the RadDiagramConnection. I noticed that there is no information explaining how to do this, neither in the Telerik documentation or in the forums.
First of all, my reason for overriding the RadDiagramConnection is because I need additional properties on the connection. We have developed a way to execute diagrams containing business logic, and the connection needs properties as IsPaused and IsCanceled to indicate if the diagram can continue to the next shape or not.
If you wish to use a different connection class, you must also inherit from the RadDiagram. The RadDiagram contains a number of methods that will allow you to provide your custom connection class when the diagram mechanism requires a connection: