<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Best Silverlight</title>
	<atom:link href="http://bestsilverlight.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bestsilverlight.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 06 Nov 2009 16:42:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bestsilverlight.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Best Silverlight</title>
		<link>http://bestsilverlight.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bestsilverlight.wordpress.com/osd.xml" title="Best Silverlight" />
	<atom:link rel='hub' href='http://bestsilverlight.wordpress.com/?pushpress=hub'/>
		<item>
		<title>why yahoo behind google?</title>
		<link>http://bestsilverlight.wordpress.com/2009/10/06/why-yahoo-behind-google/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/10/06/why-yahoo-behind-google/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 06:26:37 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=100</guid>
		<description><![CDATA[Do you know why? Because see, what this response from yahoo!!! Difficult in viewing see this below<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=100&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Do you know why?</p>
<p>Because see,</p>
<p>             what this response from yahoo!!!</p>
<div id="attachment_106" class="wp-caption alignnone" style="width: 460px"><img src="http://bestsilverlight.files.wordpress.com/2009/10/yahoo2.jpg?w=450&#038;h=283" alt="why yahoo behind google?" title="yahoo2" width="450" height="283" class="size-full wp-image-106" /><p class="wp-caption-text">why yahoo behind google?</p></div>
<p>Difficult in viewing see this below<br />
<div id="attachment_108" class="wp-caption alignnone" style="width: 460px"><img src="http://bestsilverlight.files.wordpress.com/2009/10/yahoo3.jpg?w=450&#038;h=358" alt="why yahoo behind google?" title="yahoo3" width="450" height="358" class="size-full wp-image-108" /><p class="wp-caption-text">why yahoo behind google?</p></div></p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=100&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/10/06/why-yahoo-behind-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/10/yahoo2.jpg" medium="image">
			<media:title type="html">yahoo2</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/10/yahoo3.jpg" medium="image">
			<media:title type="html">yahoo3</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>wrap panel &amp; stack panel</title>
		<link>http://bestsilverlight.wordpress.com/2009/09/28/wrap-panel-stack-panel/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/09/28/wrap-panel-stack-panel/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 05:56:24 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=37</guid>
		<description><![CDATA[In Silverlight and WPF, you have a lot of choices in how to lay out your content. This is accomplished via layout panels whose only purpose is to help arrange all of the content that you decide to place inside them. While most panels are pretty boring, in this article, we will look at two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=37&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Silverlight and WPF, you have a lot of choices in how to lay out your content. This is accomplished via layout panels whose only purpose is to help arrange all of the content that you decide to place inside them. While most panels are pretty boring, in this article, we will look at two panels who are anything but! These panels are known as WrapPanel and StackPanel</p>
<p><span id="more-37"></span></p>
<p><strong>Introducing WrapPanel and StackPanel</strong></p>
<p>As their name implies, WrapPanels wrap any content stored within its boundaries, and StackPanels stack content. That seems pretty simple, but just to highlight what makes them useful, let’s look at quick examples of both layout controls in action.</p>
<h3 style="font-size:1.17em;">Looking at WrapPanel<br />
<span style="color:#333333;">A WrapPanel allows you to place content inside it, and it wraps the content over new rows and columns if there isn’t enough space available. The following screenshot shows you some square shapes placed inside a WrapPanel whose orientation is Horizontal where rows are filled first:</span></h3>
<h3 style="font-size:1.17em;"><img style="border:0 initial initial;" title="wrapPanel" src="http://bestsilverlight.files.wordpress.com/2009/06/wrappanel2.png?w=340&#038;h=169" alt="wrapPanel" width="340" height="169" /></h3>
<p>The WrapPanel ensures that no elements stored inside it go beyond the panel’s boundaries. That is why you see some of our squares starting on a second line instead of extending the first line of squares indefinitely</p>
<p><strong>Looking at the StackPanel</strong></p>
<p>The StackPanel is similar to WrapPanel, but a major difference is that it doesn’t wrap the content. Instead, it allows you to stack contents either horizontally or vertically. The following image shows you some green squares placed inside a StackPanel whose orientation is Horizontal</p>
<p><img style="border:0 initial initial;" title="stackPanelHorizontal" src="http://bestsilverlight.files.wordpress.com/2009/06/stackpanelhorizontal.png?w=331&#038;h=175" alt="stackPanelHorizontal" width="331" height="175" /></p>
<p>These panels are great because they take care of the positioning of the individual content inside them automatically. You add your content, and <em>poof</em>, everything worksThese panels are great because they take care of the positioning of the individual content inside them automatically. You add your content, and <em>poof</em>, everything works</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=37&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/09/28/wrap-panel-stack-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/06/wrappanel2.png" medium="image">
			<media:title type="html">wrapPanel</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/06/stackpanelhorizontal.png" medium="image">
			<media:title type="html">stackPanelHorizontal</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Crop an Object</title>
		<link>http://bestsilverlight.wordpress.com/2009/07/01/how-to-crop-an-object/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/07/01/how-to-crop-an-object/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:21:11 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=62</guid>
		<description><![CDATA[If you only want to display part of an object you can do this through the Clip property &#60;Rectangle Fill=&#8221;DarkGoldenrod&#8221; Height=&#8221;100&#8243; Width=&#8221;200&#8243; StrokeThickness=&#8221;3&#8243; Stroke=&#8221;Black&#8221;&#62;&#60;/Rectangle&#62; If you type the code in xaml you can view the pitcure below: If you only want to show part of the rectangle you can apply a clip region to it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=62&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you only want to display part of an object you can do this through the <em>Clip </em> property</p>
<p>&lt;Rectangle Fill=&#8221;DarkGoldenrod&#8221; Height=&#8221;100&#8243; Width=&#8221;200&#8243; StrokeThickness=&#8221;3&#8243; Stroke=&#8221;Black&#8221;&gt;&lt;/Rectangle&gt;</p>
<p>If you type the code in xaml you can view the pitcure below:</p>
<p><img src="http://silverlight.net/blogs/msnow/image_1UAA8w.png" alt="image_1UAA8w.png (212×113)" /></p>
<p>If you only want to show part of the rectangle you can apply a clip region to it like this:</p>
<p>&lt;Rectangle Fill=&#8221;DarkGoldenrod&#8221; Height=&#8221;100&#8243; Width=&#8221;200&#8243; StrokeThickness=&#8221;3&#8243; Stroke=&#8221;Black&#8221;&gt;<br />
&lt;Rectangle.Clip&gt;<br />
&lt;EllipseGeometry Center=&#8221;0,0&#8243; RadiusX=&#8221;80&#8243; RadiusY=&#8221;80&#8243; /&gt;<br />
&lt;/Rectangle.Clip&gt;<br />
&lt;/Rectangle&gt;</p>
<p><a style="color:#0065e2;" href="http://silverlight.net/blogs/msnow/image_ngIxGQ.png"><img style="border:0 initial initial;" title="image" src="http://silverlight.net/blogs/msnow/image_thumb_pD3LSA.png" border="0" alt="image" width="97" height="96" /></a></p>
<p>In above code i use elipse geomentry. Depending upon yout requrement</p>
<p>you can use remaining geomentry like</p>
<p>1.Rectangle geomentry</p>
<p>2.Geomentry group</p>
<p>3.Line geomentry</p>
<p>4.path geomentry</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=62&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/07/01/how-to-crop-an-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://silverlight.net/blogs/msnow/image_1UAA8w.png" medium="image">
			<media:title type="html">image_1UAA8w.png (212×113)</media:title>
		</media:content>

		<media:content url="http://silverlight.net/blogs/msnow/image_thumb_pD3LSA.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Layout controls in silverlight</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/layout-controls-in-silverlight/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/layout-controls-in-silverlight/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 10:19:11 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=50</guid>
		<description><![CDATA[There are 3 different types of layout panels provided by Silverlight. The Grid control is one of them. These are the 3 different types of layout panels provided by Silverlight: 1. Canvas &#8211; Position child elements absolutely in x,y space. 2. StackPanel &#8211; Position child elements relative to one another in horizontal or vertical stacks. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=50&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are 3 different types of layout panels provided by Silverlight. The Grid control is one of them.</p>
<p>These are the 3 different types of layout panels provided by Silverlight:</p>
<p>1. Canvas &#8211; Position child elements absolutely in x,y space.<br />
2. StackPanel &#8211; Position child elements relative to one another in horizontal or vertical stacks.<br />
3. Grid &#8211; Position child elements in rows and columns.</p>
<p>You have to add a layout panel to every xaml page we create. All other UI elements must be added inside one of the layout panels. Each page can have exactly one layout panel control.</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=50&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/layout-controls-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>How to drag and move an image or object in silverlight?</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/how-to-drag-and-move-an-image-or-object-in-silverlight/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/how-to-drag-and-move-an-image-or-object-in-silverlight/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 09:23:00 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=47</guid>
		<description><![CDATA[The control that you like drag or move with the mouse can be embedded within a Border control and then handle the mouse down, up and move events to make the object move within your layout panel. TO See sample .xaml code clik below: &#60;Canvas x:Name="LayoutRoot" Background="White"&#62; &#60;Border x:Name="border1" Canvas.Top="100" Canvas.Left="10" MouseLeftButtonDown="border1_MouseLeftButtonDown" MouseLeftButtonUp="border1_MouseLeftButtonUp" MouseMove="border1_MouseMove"&#62; &#60;Image [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=47&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The control that you like drag or move with the mouse can be embedded within a Border control and then handle the mouse down, up and move events to make the object move within your layout panel.</p>
<p>TO See sample .xaml code clik below:</p>
<p><span id="more-47"></span></p>
<pre style="font-family:Courier;font-size:small;color:blue;height:auto;border:1px inset initial;margin:0;padding:6px;">
   &lt;Canvas x:Name="LayoutRoot" Background="White"&gt;

        &lt;Border x:Name="border1"
                Canvas.Top="100"
                Canvas.Left="10"
                MouseLeftButtonDown="border1_MouseLeftButtonDown"
                MouseLeftButtonUp="border1_MouseLeftButtonUp"
                MouseMove="border1_MouseMove"&gt;

            &lt;Image x:Name="MyImage" Source="images/Basket.png" Stretch="Uniform" &gt;&lt;/Image&gt;
        &lt;/Border&gt;

    &lt;/Canvas&gt;</pre>
<p>The above lines define 3 events that we like to handle. As the name indicates, we are handling the mouse button down, mouse button up and mouse move events for the left mouse.</p>
<p>In the code behind, when the left button is pressed, we will set a global variable to indicate that user has started moving. In the mouse move event, we will get the current location of the mouse pointer and then set the new position for the border control. When the left mouse button is released, we will reset the global variable so that we will not move the object any more.</p>
<p>To See the code for the code behind class clik the link below:<!--more--></p>
<pre style="font-family:Courier;font-size:small;color:blue;height:auto;border:1px inset initial;margin:0;padding:6px;">
    public partial class Page : UserControl
    {
        // Global variable to indicate if user has clicked border
        // and started/stopped moving.
        private bool moving = false;

        private double offSetX;
        private double offSetY;

        public Page()
        {
            InitializeComponent();
        }

        private void border1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            // Left mouse button clicked within border. start moving.
            moving = true;

            Point offset = e.GetPosition(border1);
            offSetX = offset.X;
            offSetY = offset.Y;
        }

        private void border1_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            // Left mouse button release. Stop moving.
            moving = false;
        }

        private void border1_MouseMove(object sender, MouseEventArgs e)
        {
            if (moving)
            {
                // Get the new mouse pointer position
                Canvas parent = (Canvas)this.border1.Parent;
                Point p = e.GetPosition(parent);
                double x = p.X - offSetX;
                double y = p.Y - offSetY;

                // Set the new position for the border control.
                this.border1.SetValue(Canvas.LeftProperty, x);
                this.border1.SetValue(Canvas.TopProperty, y);
            }
        }
    }</pre>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=47&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/how-to-drag-and-move-an-image-or-object-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>wrap panel and stack panel</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/wrap-panel-and-stack/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/wrap-panel-and-stack/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 07:12:05 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=38</guid>
		<description><![CDATA[In Silverlight and WPF, you have a lot of choices in how to lay out your content. This is accomplished via layout panels whose only purpose is to help arrange all of the content that you decide to place inside them. While most panels are pretty boring, in this article, we will look at two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=38&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Silverlight and WPF, you have a lot of choices in how to lay out your content. This is accomplished via layout panels whose only purpose is to help arrange all of the content that you decide to place inside them. While most panels are pretty boring, in this article, we will look at two panels who are anything but! These panels are known as WrapPanel and StackPanel</p>
<p><strong>Introducing WrapPanel and StackPanel</strong></p>
<p>As their name implies, WrapPanels wrap any content stored within its boundaries, and StackPanels stack content. That seems pretty simple, but just to highlight what makes them useful, let’s look at quick examples of both layout controls in action.</p>
<h3 style="font-size:1.17em;">Looking at WrapPanel<br />
<span style="color:#333333;">A WrapPanel allows you to place content inside it, and it wraps the content over new rows and columns if there isn’t enough space available. The following screenshot shows you some square shapes placed inside a WrapPanel whose orientation is Horizontal where rows are filled first:</span></h3>
<h3 style="font-size:1.17em;"><img style="border:0 initial initial;" title="wrapPanel" src="http://bestsilverlight.files.wordpress.com/2009/06/wrappanel2.png?w=340&#038;h=169" alt="wrapPanel" width="340" height="169" /></h3>
<p>The WrapPanel ensures that no elements stored inside it go beyond the panel’s boundaries. That is why you see some of our squares starting on a second line instead of extending the first line of squares indefinitely</p>
<p><span><strong>Looking at the StackPanel</strong></span></p>
<p><span>The StackPanel is similar to WrapPanel, but a major difference is that it doesn’t wrap the content. Instead, it allows you to stack contents either horizontally or vertically. The following image shows you some green squares placed inside a StackPanel whose orientation is Horizontal</span></p>
<p><span><img style="border:0 initial initial;" title="stackPanelHorizontal" src="http://bestsilverlight.files.wordpress.com/2009/06/stackpanelhorizontal.png?w=331&#038;h=175" alt="stackPanelHorizontal" width="331" height="175" /></span></p>
<p><span>These panels are great because they take care of the positioning of the individual content inside them automatically. You add your content, and <em>poof</em>, everything worksThese panels are great because they take care of the positioning of the individual content inside them automatically. You add your content, and <em>poof</em>, everything works</span></p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=38&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/wrap-panel-and-stack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/06/wrappanel2.png" medium="image">
			<media:title type="html">wrapPanel</media:title>
		</media:content>

		<media:content url="http://bestsilverlight.files.wordpress.com/2009/06/stackpanelhorizontal.png" medium="image">
			<media:title type="html">stackPanelHorizontal</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>What is Moon light?</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/what-is-moon-light/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/what-is-moon-light/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 06:54:25 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=35</guid>
		<description><![CDATA[Moonlight enables Linux users to view Silverlight content and Silverlight applications. Recently the official Presidential Inauguration Committee broadcast the inauguration of President Barack Obama using Silverlight.  Over 50,000 viewers using Linux installed Moonlight and watched the event live using Moonlight.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=35&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Moonlight enables Linux users to view Silverlight content and Silverlight applications.</p>
<p>Recently the official Presidential Inauguration Committee broadcast the <a href="http://weblogs.asp.net/scottgu/archive/2009/01/19/silverlight-and-the-2009-presidential-inauguration.aspx" target="_blank">inauguration of President Barack Obama using Silverlight</a>.  Over 50,000 viewers using Linux installed Moonlight and watched the event live using Moonlight.</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=35&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/what-is-moon-light/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>what is .XAP file?</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/what-is-xap-file/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/what-is-xap-file/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 06:12:24 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=32</guid>
		<description><![CDATA[.xap file is the compressed output file for the Silverlight application. The .xap file includes AppManifest.xaml, compiled output assembly of the Silverlight project (.dll) and any other resource files referred by the Silverlight application. Web pages like .aspx files and .html files use the Silverlight components by loading the .xap files using the &#60;object&#62; tag [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=32&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>.xap file is the compressed output file for the Silverlight application. The .xap file includes AppManifest.xaml, compiled output assembly of the Silverlight project (.dll) and any other resource files referred by the Silverlight application.</p>
<p>Web pages like .aspx files and .html files use the Silverlight components by loading the .xap files using the &lt;object&gt; tag in the HTML or by using &lt;asp:Silverlight&gt; tag in the ASP.NET pages.</p>
<p>&#8220;.xap&#8221; files (pronounced &#8220;zap&#8221;) use the standard .zip compression algorithm to minimize client download size. A &#8220;hello world&#8221; .NET Silverlight application (built using VB or C#) is about 5KB in size.</p>
<p>Let us see how a .xap file look like.</p>
<p>Open Visual Studio and create a new project by selecting &#8220;Silverlight Application&#8221; under the project type &#8220;Silverlight&#8221;. Choose the project name &#8220;SilverlightTest&#8221;. In the next screen, choose the option &#8220;automatically generate a test page to host Silverlight at build time&#8221;.</p>
<p><span id="more-32"></span><br />
Visual Studio creates a project with 2 files:</p>
<p>1. App.xaml<br />
2. Page.xaml</p>
<p>Compile and run the application by pressing Ctrl + F5. You can see the browser opening with an empty page (the page is empty because you have nothing in your default xaml file).</p>
<p>Now open your windows explorer and look in to the bin\debug folder of your project. You can see a file called &#8220;SilverlightTest.xap&#8221;.</p>
<p>Rename this file to SilverlightTest.zip and open it using any decompression tool. You can see that this is just like any other zip file and it includes the projects output dll and another file called &#8220;AppManifest.xaml&#8221;.</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=32&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/what-is-xap-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>How to open XAML pages from another XAML pages?</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/how-to-open-xaml-pages-from-another-xaml-pages/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/how-to-open-xaml-pages-from-another-xaml-pages/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 06:03:18 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=29</guid>
		<description><![CDATA[In a Silverlight application, you can have multiple XAML pages. When you use the .xap file in the web page, only one XAML control will be displayed at a time. The default XAML file displayed is determined by the following code in the App.xaml file: this.RootVisual = new Page1(); You can change the above line [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=29&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In a Silverlight application, you can have multiple XAML pages. When you use the .xap file in the web page, only one XAML control will be displayed at a time. The default XAML file displayed is determined by the following code in the App.xaml file:</p>
<pre style="font-family:Courier;font-size:small;color:blue;height:auto;border:1px inset initial;margin:0;padding:6px;">
this.RootVisual = new Page1();</pre>
<p>You can change the above line to the class name of any oher xaml file to open that file by default.</p>
<p>Another scenario is, you may want to open different xaml files from the default xaml page. For example, consider that you have a xaml control that prompt user to enter login information. After the login credentials are validated, you may want to redirect to another xaml file when the user click the &#8220;Submit&#8221; button.</p>
<p>This can be done by setting the &#8220;Content&#8221; property of the xaml page.</p>
<p><span id="more-29"></span></p>
<pre style="font-family:Courier;font-size:small;color:blue;height:auto;border:1px inset initial;margin:0;padding:6px;">private void SubmitButton_Click(object sender, RoutedEventArgs e)
{
        this.Content = new NewXamlPage();
}</pre>
<p>The above code shows how to set the &#8220;Content&#8221; property of the xaml control in the button click event handler. When the user click on the submit button, the new xaml file (NewXamlpage) will be opened and original xaml file will be recycled.</p>
<div><span style="font-family:Arial;color:#4c4c4c;"><span style="line-height:normal;"><br />
</span></span></div>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=29&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/how-to-open-xaml-pages-from-another-xaml-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Diff between silverlight1 and silverlight2?</title>
		<link>http://bestsilverlight.wordpress.com/2009/06/30/diff-between-silverlight1-and-silverlight2/</link>
		<comments>http://bestsilverlight.wordpress.com/2009/06/30/diff-between-silverlight1-and-silverlight2/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 05:47:43 +0000</pubDate>
		<dc:creator>vmathanraj87</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://bestsilverlight.wordpress.com/?p=27</guid>
		<description><![CDATA[Silverlight 1 It is purely AJAX and Javascript based. All the code has to be written in Javascript and XAML. Silverlight 2 Silverlight 2 supports managed code. When Silverlight 2 runtime is installed, it installs a limited version of .NET runtime on the client machine. This allows .NET programmers to write managed code to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=27&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Silverlight 1</strong></p>
<p>It is purely AJAX and Javascript based. All the code has to be written in Javascript and XAML.</p>
<p><strong>Silverlight 2</strong></p>
<p>Silverlight 2 supports managed code. When Silverlight 2 runtime is installed, it installs a limited version of .NET runtime on the client machine. This allows .NET programmers to write managed code to be executed on the client PC and provide a better user experience to the users. Of course, there is security and restrictions built in to it so that the code has limited access to the client computer.</p>
<p>Developers must be aware that if the end user decline to install the .NET runtime on their client computer, the Silverlight 2 applications will not run.</p>
<p><!-- AddThis Button BEGIN --><br />
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4ac04e9f4edd77cf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share"></a><br />
<!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bestsilverlight.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bestsilverlight.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bestsilverlight.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bestsilverlight.wordpress.com&amp;blog=8321088&amp;post=27&amp;subd=bestsilverlight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bestsilverlight.wordpress.com/2009/06/30/diff-between-silverlight1-and-silverlight2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/80bb20e67159b1e5ebe191fe5d4eb423?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijay</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
	</channel>
</rss>
