Skip to main content

Microsoft Silverlight

Answered Question How to get xaml files from a Silverlight application which is running?RSS Feed

(0)

cnblackhawk
cnblackhawk

Member

Member

3 points

9 Posts

How to get xaml files from a Silverlight application which is running?

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
preishuber

Contributor

Contributor

3570 points

655 Posts

Re: How to get xaml files from a Silverlight application which is running?

read

http://weblogs.asp.net/hpreishuber/archive/2008/07/17/reveres-engineering-of-silverlight-xap-files.aspx

-Hannes

http://www.preishuber.net http://weblogs.asp.net/hpreishuber

cnblackhawk
cnblackhawk

Member

Member

3 points

9 Posts

Re: How to get xaml files from a Silverlight application which is running?

 

NO, sorry, I mean that how to get xaml through the way like this: Root.ToString()

 

cnblackhawk
cnblackhawk

Member

Member

3 points

9 Posts

Re: How to get xaml files from a Silverlight application which is running?

UP

Arnaud Auroux
Arnaud A...

Member

Member

54 points

14 Posts

Answered Question

Re: How to get xaml files from a Silverlight application which is running?

The easiest way for you is to use the XAML writer of the Silverlight contrib library : http://silverlightcontrib.org/

---
Arnaud Auroux
"Please Mark as answer if answer is correct"
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities