Group: Forum Members
Last Active: 12 Years Ago
Posts: 3,
Visits: 1
|
I'm trying to create a tree using NTreeLayout but I need to create shapes similar to the UML diagram, but need control over the layout. It seems like the way to do this is to create a group for each vertex in the tree and then put a title control and a table control in it. I can get this far but I can't add ports to the group for use in the tree. The Ports collections on the NGroup object is null and read-only.
Is this the correct approach, and if so how do I handle the ports. If this is not the correct approach, what is?
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Michael, To create the ports collection, use the following syntax: shape.CreateShapeElements(ShapeElementsMask.Ports);
Best Regards, Nevron Support Team
|