|
Group: Forum Members
Posts: 71,
Visits: 1
|
This solution seems to work, but there must be a better way to do it.
I provide a unique ID to the group that is added to the library before adding it
for instance, before added the group to the library
shapeGroup.Tag = uniqueID;
then in the eventsink, I use this only
NShape shapeName = args.Child as NShape;
but refer to the group by the tag ID
like
if(shapename.Tag == uniqueID)//group unique id
|