All Tags »
Clone (RSS)
Sorry, but there are no more tags available to filter with.
-
When you drag a shape from the palette, a new shape is created using the Clone method. You need to override Clone in your subclass to return a new MyShape eg public override object Clone() { return new MyShape ( this ); }
-
The copy and paste code uses the Group.Clone method. Override this method and compare the result of the call to the containing object. You will need to copy each object in the Group using it's Clone method.
Page 1 of 1 (2 items)