AM
Ajeet M
Syncfusion Team
January 2, 2009 07:11 AM UTC
Hi Eric,
I am afraid but I was not able to reproduce the issue mentioned by you.
The sample is located in the following location under the documents folder:
------
\Documents\Syncfusion\EssentialStudio\6.4.0.15\Windows\Diagram.Windows\Samples\2.0\Designing Symbols\CustomSymbol\CS
------
I would be glad if you could send us your sample with complete details of how to reproduce the issue. Also, do mention us your installation details ( version number, .NET framework etc).
Thanks and Regards,
Ajeet
ER
Eric Robishaw
January 12, 2009 10:51 PM UTC
Found the problem:
my derived group class overrode the Clone() method and return a shallow copy using MemberwiseCopy().
When the MoveTool starts to move the object, it first creates a clone of the object, then sets the transparency of the object to 50%. However, because I was returning a shallow copy, the children of my group were each being affected, instead of a copy of the children, and thus, the transparency was getting halfed every time it was selecetd.
Anyhow, if anyone experiences this in the future... make sure you do a full, deep copy, in the Clone() method, or you'll run into problems.