Hi,
i use a custom InOutConncetorClasse. If I drop a Shape, I add the new Points to my shape:
var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="StartConncetor" };
NewShape.Connectors.Add(outConnector);
NewShape.UseDefaultConnectors = false;
This works fine. Now I save my diagram to xml. If i load the diagram from xml i try to add the custom connectors again:
var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="x"};
(e.Shape as RadDiagramShape).Connectors.Add(outConnector);
(e.Shape as RadDiagramShape).UseDefaultConnectors = false;
The Point is correct, but the InOutConnector.eDirection does not work?
How can i save and relaod this custom connectors?
Thanks
Best Regards
Rene
i use a custom InOutConncetorClasse. If I drop a Shape, I add the new Points to my shape:
var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="StartConncetor" };
NewShape.Connectors.Add(outConnector);
NewShape.UseDefaultConnectors = false;
This works fine. Now I save my diagram to xml. If i load the diagram from xml i try to add the custom connectors again:
var outConnector = new InOutConnector() { Offset = new Point(0.5, 1), Direction = InOutConnector.eDirection.drOut, Name="x"};
(e.Shape as RadDiagramShape).Connectors.Add(outConnector);
(e.Shape as RadDiagramShape).UseDefaultConnectors = false;
The Point is correct, but the InOutConnector.eDirection does not work?
How can i save and relaod this custom connectors?
Thanks
Best Regards
Rene