Beispiel #1
0
 public static Connector connector(this DesignerItem designerItem, string topLeftBottomOrRight)
 {
     return((Connector)designerItem.wpfInvoke(
                () => {
         var designerCanvas = designerItem.designerCanvas();
         if (designerItem.notNull() && designerCanvas.notNull())
         {
             return (DiagramDesigner.Connector)designerCanvas.invoke("GetConnector", designerItem.ID, topLeftBottomOrRight);
         }
         return null;
     }));
 }