|
HI stoyo if i am using control Node in constructoor need to pass diagram object ,here only need to convert the panel as diagram object , this is in different layer not in same layer , how to approach here
ControlNode cn = new ControlNode(e.Surface as Diagram, droppedElement); AnchorPattern apat1 = new AnchorPattern(new AnchorPoint[]{ new AnchorPoint(50, 0, true, true), new AnchorPoint(100, 50, true, true), new AnchorPoint(50, 100, true, true), new AnchorPoint(0, 50, true, true) }); cn.AnchorPattern = apat1 ;
regards sachin
|