Skip to main content
Home Forums Silverlight Programming Programming with .NET - General How to get xaml files from a Silverlight application which is running?
4 replies. Latest Post by Arnaud Auroux on January 6, 2009.
(0)
cnblackhawk
Member
3 points
9 Posts
01-05-2009 5:20 AM |
Initialize a silverlight application can use XamlReader.Load to do,
but how to reserve this progress?
I have a silverlight, I want put a button on this application, and when I press this button,
It can get the xaml to me, how to do this ?
use VisualTreeHelper to travel ? or use LogicalTreeHelper to travel ?
or there are a easy way ?
preishuber
Contributor
3570 points
655 Posts
01-05-2009 5:55 AM |
read
http://weblogs.asp.net/hpreishuber/archive/2008/07/17/reveres-engineering-of-silverlight-xap-files.aspx
01-05-2009 7:47 AM |
NO, sorry, I mean that how to get xaml through the way like this: Root.ToString()
01-06-2009 1:32 AM |
UP
Arnaud A...
54 points
14 Posts
01-06-2009 4:59 AM |
The easiest way for you is to use the XAML writer of the Silverlight contrib library : http://silverlightcontrib.org/