Profile Picture

NShowHideSubtreeDecorator & z-order

Posted By Andrew Shand 10 Years Ago
Author
Message
Andrew Shand
Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 7, Visits: 4
I've created a diagram with simple shapes joined by NLineShapes connectors. The shapes each have a NShowHideSubtreeDecorator to allow child shapes to be collapsed.

If one of the line connectors between shapes overlaps or is near to the +/- shape of the decorator, I find that I cannot get the decorator expand/collapse action to fire. I'm guessing this is due to the connector line being above the decorator in the drawing z-order?

Any suggestions on how to keep the decorator on top?
Thanks
Andy


Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
The shape decorators are painted on top of the shape that owns them, so you can try bringing that shape to Front of the ZOrder or send to Back the connectors.
Each shape has the BringToFront and SendToBack methods so it should be relatively easy to adjust your Z Order.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic