I have a RadDiagramTextShape without connectors. I don't want to connect to text shapes.
So I clear then using this line of code:
((RadDiagramTextShape)Shape).Connectors.Clear();
My problem is when a user changes to the Connector Tool ( diagram.ActiveTool = MouseTool.ConnectorTool) and clicks within the RadDiagramTextShape an unhandled exception is thrown:
An unhandled exception of type 'System.InvalidOperationException' occurred in Telerik.Windows.Controls.Diagrams.dllAdditional information: The shape has no connectors defined.
Is there a way to prevent this?
So I clear then using this line of code:
((RadDiagramTextShape)Shape).Connectors.Clear();
My problem is when a user changes to the Connector Tool ( diagram.ActiveTool = MouseTool.ConnectorTool) and clicks within the RadDiagramTextShape an unhandled exception is thrown:
An unhandled exception of type 'System.InvalidOperationException' occurred in Telerik.Windows.Controls.Diagrams.dllAdditional information: The shape has no connectors defined.
Is there a way to prevent this?