Friday, April 20, 2007

Know the state of a object in XAML format at runtime

The below code gives the XAML representation of object at runtime.

MessageBox.Show(System.Windows.Markup.XamlWriter.Save(sp));

Using this we can save the current state of the objects..

No comments:

Post a Comment