Hello Natália,
Please have a look on XamlReader and XamlWriter classes. They are used to create an object from XAML code and to get the XAML code of an visual object. XamlWriter is not provided in the official release, but there are some third party projects like this one.
Greetings,
Yavor Ivanov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items