public static Connection add_Connection(this DesignerCanvas designerCanvas, DesignerItem designerItem1, DesignerItem designerItem2, string position1, string position2) { return((Connection)designerCanvas.wpfInvoke( () => { var connector1 = designerItem1.connector(position1); var connector2 = designerItem2.connector(position2); var connection = new DiagramDesigner.Connection(connector1, connector2); designerCanvas.Children.Add(connection); return connection; })); }
public static Connector connector_Bottom(this DesignerItem designerItem) { return(designerItem.connector("Bottom")); }
public static Connector connector_Left(this DesignerItem designerItem) { return(designerItem.connector("Left")); }
public static Connector connector_Top(this DesignerItem designerItem) { return(designerItem.connector("Top")); }
public static Connector connector_Right(this DesignerItem designerItem) { return(designerItem.connector("Right")); }