Hi,
After rereading your post I think that we need to clarify a little. If you are assigning a data source as a Tag value, this does not mean that you need to clone the data source, but rather create a surrogate object that is ICloneable and performs shallow cloning of its members. For example:
[Serializable]
public class MyTag : ICloneable
{
public MyTag()
{
}
public object Clone()
{
MyTag clone = MyTag();
clone.DataSource = DataSource;
return clone;
}
public object DataSource;
}
Best Regards,
Nevron Support Team