tags:

views:

983

answers:

1

What's the best way to clone a control in Silverlight (including it's children)?

UPDATE

Is there a better way in Silverlight 2?

+1  A: 

Here's a great thread about serializing and deserializing objects in Silverlight 1.1.

As for a "best way," I'd say it would definitely be caching the xaml for the control and calling createFromXaml on it.

Will