<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: To XAML, with love (an experiment with XAML Serialization in Silverlight)</title>
	<atom:link href="http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/</link>
	<description>Software development and other goofy geeky goodness.</description>
	<lastBuildDate>Tue, 23 Aug 2011 19:01:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jaider</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8468</link>
		<dc:creator>Jaider</dc:creator>
		<pubDate>Sun, 24 Jul 2011 14:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8468</guid>
		<description>I solved the problem, exposing the Points instead the Polyline. Look like the Polyline was override and lose the the binding.
public PointCollection MyPoints
        {
            get { return polyline.Points; }
            set { polyline.Points=value; }
        }</description>
		<content:encoded><![CDATA[<p>I solved the problem, exposing the Points instead the Polyline. Look like the Polyline was override and lose the the binding.<br />
public PointCollection MyPoints<br />
        {<br />
            get { return polyline.Points; }<br />
            set { polyline.Points=value; }<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaider</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8467</link>
		<dc:creator>Jaider</dc:creator>
		<pubDate>Sun, 24 Jul 2011 14:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8467</guid>
		<description>Hello David,
I am very thankful for sharing your code, works awesome! I just using serialization. that only required 2dlls:
SLaB.Utilities.Xaml.Serializer
SLaB.Utilities.Xaml.Serializer.UI

var uxs = new SLaB.Utilities.Xaml.Serializer.UI.UiXamlSerializer();

string mystrXAML = uxs.Serialize(MyPanel);

but in my panel, I had a control that has a Polyline and other stuff. After Serialization, the Points in the Polyline were delete. but the good thing, I can serialize the Polyline alone, like:
string myPLXAML = uxs.Serialize(MyPanel.PLControl.polyline);
polyline is the name of Polyline, I try to create a public property like 

        public Polyline MyPolyline
        {
            get { return polyline; }
            set { polyline=value; }
        }
But doesn&#039;t work... any idea????</description>
		<content:encoded><![CDATA[<p>Hello David,<br />
I am very thankful for sharing your code, works awesome! I just using serialization. that only required 2dlls:<br />
SLaB.Utilities.Xaml.Serializer<br />
SLaB.Utilities.Xaml.Serializer.UI</p>
<p>var uxs = new SLaB.Utilities.Xaml.Serializer.UI.UiXamlSerializer();</p>
<p>string mystrXAML = uxs.Serialize(MyPanel);</p>
<p>but in my panel, I had a control that has a Polyline and other stuff. After Serialization, the Points in the Polyline were delete. but the good thing, I can serialize the Polyline alone, like:<br />
string myPLXAML = uxs.Serialize(MyPanel.PLControl.polyline);<br />
polyline is the name of Polyline, I try to create a public property like </p>
<p>        public Polyline MyPolyline<br />
        {<br />
            get { return polyline; }<br />
            set { polyline=value; }<br />
        }<br />
But doesn&#8217;t work&#8230; any idea????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lyle</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8031</link>
		<dc:creator>Lyle</dc:creator>
		<pubDate>Tue, 29 Mar 2011 21:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8031</guid>
		<description>Hello David,

Thanks for sharing your knowledge with us. 
I am using your XamlSerializer. 
I have run across the following problem. 

I Create a rectangle in blend with a gradient fill.
I load it in silverlight using XamlReader.Load()
and it looks good. I then export it using your
UIXamlSerializer.Serialize().
It does not output the colors or the gradient stops.

Here is what i load into silverlight.

[code]

    
      
        
        
        
      
    
  
[/code]


And here is what get exported using the uiserializer.

[code]

        
          
            
              
            
            
              
            
          
        
      
[/code]

Any suggestions on what to try to get the colors and gradient stops exporting?

Thank you for you time.</description>
		<content:encoded><![CDATA[<p>Hello David,</p>
<p>Thanks for sharing your knowledge with us.<br />
I am using your XamlSerializer.<br />
I have run across the following problem. </p>
<p>I Create a rectangle in blend with a gradient fill.<br />
I load it in silverlight using XamlReader.Load()<br />
and it looks good. I then export it using your<br />
UIXamlSerializer.Serialize().<br />
It does not output the colors or the gradient stops.</p>
<p>Here is what i load into silverlight.</p>
<div class="cic_codes_div"><code></p>
<p></code></div>
<p>And here is what get exported using the uiserializer.</p>
<div class="cic_codes_div"><code></p>
<p></code></div>
<p>Any suggestions on what to try to get the colors and gradient stops exporting?</p>
<p>Thank you for you time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lyle</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8030</link>
		<dc:creator>Lyle</dc:creator>
		<pubDate>Tue, 29 Mar 2011 21:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8030</guid>
		<description>Hello David,

Thanks for sharing your knowledge with us. 
I am using your XamlSerializer. 
I have run across the following problem. 

I Create a rectangle in blend with a gradient fill.
I load it in silverlight using XamlReader.Load()
and it looks good. I then export it using your
UIXamlSerializer.Serialize().
It does not output the colors or the gradient stops.

Here is what i load into silverlight.



    
      
        
        
        
      
    
  



And here is what get exported using the uiserializer.


        
          
            
              
            
            
              
            
          
        
      

Any suggestions on what to try to get the colors and gradient stops exporting?

Thank you for you time.</description>
		<content:encoded><![CDATA[<p>Hello David,</p>
<p>Thanks for sharing your knowledge with us.<br />
I am using your XamlSerializer.<br />
I have run across the following problem. </p>
<p>I Create a rectangle in blend with a gradient fill.<br />
I load it in silverlight using XamlReader.Load()<br />
and it looks good. I then export it using your<br />
UIXamlSerializer.Serialize().<br />
It does not output the colors or the gradient stops.</p>
<p>Here is what i load into silverlight.</p>
<p>And here is what get exported using the uiserializer.</p>
<p>Any suggestions on what to try to get the colors and gradient stops exporting?</p>
<p>Thank you for you time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelD!</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8029</link>
		<dc:creator>MichaelD!</dc:creator>
		<pubDate>Tue, 29 Mar 2011 11:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8029</guid>
		<description>My Hero!  Finally, someone who understands Xaml is not just for friggin UI controls... every implementation I found w/ XamlWriter were specifically for UI... sigh.  Your solution saved the day!  Great work.</description>
		<content:encoded><![CDATA[<p>My Hero!  Finally, someone who understands Xaml is not just for friggin UI controls&#8230; every implementation I found w/ XamlWriter were specifically for UI&#8230; sigh.  Your solution saved the day!  Great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jovi</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-8027</link>
		<dc:creator>Jovi</dc:creator>
		<pubDate>Mon, 28 Mar 2011 18:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-8027</guid>
		<description>Hi David, 
Thanks for the great job you have done. 
I tried to use your UIXamlSerializer generating a xaml file in Silverlight and loading it from WPF, unfurtunatelly it did not work with many standard controls from Silverlight, the WPF parser complains with certain properties (like &quot;Data&quot; inside a polygon object for example).
Do you have any advise for me on this matter?

One of the specific error messages I am getting from the parser says:
Cannot set unknown member &#039;Microsoft.Expression.Shapes.RegularPolygon.Data&#039;</description>
		<content:encoded><![CDATA[<p>Hi David,<br />
Thanks for the great job you have done.<br />
I tried to use your UIXamlSerializer generating a xaml file in Silverlight and loading it from WPF, unfurtunatelly it did not work with many standard controls from Silverlight, the WPF parser complains with certain properties (like &#8220;Data&#8221; inside a polygon object for example).<br />
Do you have any advise for me on this matter?</p>
<p>One of the specific error messages I am getting from the parser says:<br />
Cannot set unknown member &#8216;Microsoft.Expression.Shapes.RegularPolygon.Data&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Winans</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-7973</link>
		<dc:creator>Tom Winans</dc:creator>
		<pubDate>Sat, 05 Mar 2011 21:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-7973</guid>
		<description>Well as luck would have it, I found the answer to the internal field question. So ... I will get back to regarding its use + the use of your serializer ...</description>
		<content:encoded><![CDATA[<p>Well as luck would have it, I found the answer to the internal field question. So &#8230; I will get back to regarding its use + the use of your serializer &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Winans</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-7972</link>
		<dc:creator>Tom Winans</dc:creator>
		<pubDate>Sat, 05 Mar 2011 20:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-7972</guid>
		<description>What a great bit of work. Thank you for this! 

May I ask a question: when, in Xaml, you use x:Name to create a class field and link to it a part of the UI, what form does that take when introspecting with the Reflection API? These appear to be internal fields, but I don&#039;t see how to find them with the API ... now I haven&#039;t read all of your code, and it likely is there, but I wondered if you could assist ...

Also ... an observation ... there appears to be a lot of frustration in the Silverlight Xaml community over behavior that was in one release, but is not now, having to do with Namescopes. CreateFromXaml was &quot;here&quot; in one release, and it was somewhat replaced with Application.LoadComponent and XamlReader.Load ... but not quite, as these appear to keep information in an internal (or really hard to get at) location that ultimately seems to require x:Name should not be used. Your XamlSerializer (and a corresponding Deserializer) could provide a way around the problem, it seems, by providing a way to both use a Xaml to instantiate a new UI, and then subsequently hack around the Namescope problem by replacing the x:Name uses with placeholders that would permit linking of loaded components with FindName (using the replacement name).

Now my thought might be nothing short of silly, and you might have an alternative fix. pBut it seems that, especially if one could learn how to reflect on these internal fields in combination with your Serializer, a somewhat painful problem could be sidestepped until the Silverlight team put that functionality back.

Again, thanks for your work ... very helpful to those of us who are, in comparison, significantly new to this space.</description>
		<content:encoded><![CDATA[<p>What a great bit of work. Thank you for this! </p>
<p>May I ask a question: when, in Xaml, you use x:Name to create a class field and link to it a part of the UI, what form does that take when introspecting with the Reflection API? These appear to be internal fields, but I don&#8217;t see how to find them with the API &#8230; now I haven&#8217;t read all of your code, and it likely is there, but I wondered if you could assist &#8230;</p>
<p>Also &#8230; an observation &#8230; there appears to be a lot of frustration in the Silverlight Xaml community over behavior that was in one release, but is not now, having to do with Namescopes. CreateFromXaml was &#8220;here&#8221; in one release, and it was somewhat replaced with Application.LoadComponent and XamlReader.Load &#8230; but not quite, as these appear to keep information in an internal (or really hard to get at) location that ultimately seems to require x:Name should not be used. Your XamlSerializer (and a corresponding Deserializer) could provide a way around the problem, it seems, by providing a way to both use a Xaml to instantiate a new UI, and then subsequently hack around the Namescope problem by replacing the x:Name uses with placeholders that would permit linking of loaded components with FindName (using the replacement name).</p>
<p>Now my thought might be nothing short of silly, and you might have an alternative fix. pBut it seems that, especially if one could learn how to reflect on these internal fields in combination with your Serializer, a somewhat painful problem could be sidestepped until the Silverlight team put that functionality back.</p>
<p>Again, thanks for your work &#8230; very helpful to those of us who are, in comparison, significantly new to this space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Diamond</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-7804</link>
		<dc:creator>Derek Diamond</dc:creator>
		<pubDate>Thu, 03 Feb 2011 06:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-7804</guid>
		<description>Hey thanks. The UI serilaizer saved me a lot of problems. ALL the other SL XamlWriters/Serializers failed me, and left out path data etc for example.

Well done on you implementation!</description>
		<content:encoded><![CDATA[<p>Hey thanks. The UI serilaizer saved me a lot of problems. ALL the other SL XamlWriters/Serializers failed me, and left out path data etc for example.</p>
<p>Well done on you implementation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david.poll</title>
		<link>http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/comment-page-1/#comment-7700</link>
		<dc:creator>david.poll</dc:creator>
		<pubDate>Fri, 28 Jan 2011 00:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/#comment-7700</guid>
		<description>The XAML parser uses EnUsCulture for converters, so the serializer needed to do the same ;)</description>
		<content:encoded><![CDATA[<p>The XAML parser uses EnUsCulture for converters, so the serializer needed to do the same <img src='http://www.davidpoll.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

