This is a migrated thread and some comments may be shown as answers.

Trying to save controls to Silverlight FormCanvas

0 Answers 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 07 May 2009, 01:31 PM
I am using the FormCanvas object that came with the Examples.Toolbar.CS Silverlight project.

I would like to be able to save a canvas to a database.  Ideally, I want to save a list of all controls as well as information about where they are positioned on the Canvas.  I can do this either by saving the extracted XAML code from the Canvas, or getting a list of all controls with their positioning data.

I have tried saving the Canvas XAML code and trying to read it back in using the XAMLReader class, but this is not working with the FormCanvas class.

Please advise.

Thanks,
Seth

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Seth
Top achievements
Rank 1
Share this question
or