<?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/"
	>

<channel>
	<title>ASP.Net Blog &#187; Silverlight</title>
	<atom:link href="http://allaboutasp.net/category/silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://allaboutasp.net</link>
	<description>Your .Net Zone</description>
	<lastBuildDate>Mon, 14 Jun 2010 00:58:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Silverlight 4 Beta Documentation is Now Available for Download</title>
		<link>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/</link>
		<comments>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:24:01 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Beta4]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/</guid>
		<description><![CDATA[Silverlight Beta 4 documentation is already available on MSDN website and developers can also access Silverlight Beta 4 documentation offline. 
Download Silverlight Beta 4 Documentation
Silverlight Beta 4 Documentation on MSDN
]]></description>
			<content:encoded><![CDATA[<p>Silverlight Beta 4 documentation is already available on MSDN website and developers can also access Silverlight Beta 4 documentation offline. </p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b6127b9b-968c-46c2-8cb6-d228e017ad74#Overview" target="_blank">Download Silverlight Beta 4 Documentation</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc838158(VS.96).aspx" target="_blank">Silverlight Beta 4 Documentation on MSDN</a></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Silverlight Navigation : Browser Navigation Overview</title>
		<link>http://allaboutasp.net/2009/04/silverlight-navigation-browser-navigation-overview/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-navigation-browser-navigation-overview/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 10:13:05 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[HtmlPage Class]]></category>
		<category><![CDATA[HyperLinkButton]]></category>
		<category><![CDATA[Silverlight Navigation.Browser Navigaton]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-navigation-browser-navigation-overview/</guid>
		<description><![CDATA[Silverlight does not provide built in direct navigation system not it provides integration with browser navigation system but Silverlight provide some other features that can be used for navigation while developing Silverlight applications. There is two type of navigation is possible in Silverlight application
Browser Navigation
Browser navigation means Silverlight application can directly point to pages that [...]]]></description>
			<content:encoded><![CDATA[<p>Silverlight does not provide built in direct navigation system not it provides integration with browser navigation system but Silverlight provide some other features that can be used for navigation while developing Silverlight applications. There is two type of navigation is possible in Silverlight application</p>
<h2>Browser Navigation</h2>
<p>Browser navigation means Silverlight application can directly point to pages that are outside of your application domain or applications. Like you can use browser navigation for redirecting user to some other web page. To enable user navigation to other web pages Silverlight provides a user control called <font color="#800040" size="3" face="Calibri">HyperLinkButton</font> and by setting it’s <font color="#004040" size="3" face="Cambria">Navigateuri</font>. There is one more important property <font color="#800040" size="3" face="Calibri">HyperLinkButton</font> has called <font color="#004040" size="3" face="Cambria">TargetName</font> means whether url will be opened in a new windows or in same window. It’s <font color="#004040" size="3" face="Cambria">Content</font> property is display the text of <font color="#800040" size="3" face="Calibri">HyperLinkButton</font> Control. </p>
<pre style="width: 518px; height: 34px" class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">HyperlinkButton </span><span style="color: red">x</span><span style="color: blue">:</span><span style="color: red">Name</span><span style="color: blue">=&quot;hpb&quot; </span><span style="color: red">Content</span><span style="color: blue">=&quot; All About ASP.Net&quot; </span><span style="color: red">NavigateUri</span><span style="color: blue">=&quot;http://allaboutasp.net&quot; </span><span style="color: red">TargetName</span><span style="color: blue">=&quot;_blank&quot;&gt;&lt;/</span><span style="color: #a31515">HyperlinkButton</span><span style="color: blue">&gt;</span></pre>
<p>The above example is simple static browser navigation example but browser navigation can also be done programmatically by manipulating HTML DOM objects through the HtmlPage class.</p>
<pre style="width: 515px; height: 44px" class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">HyperlinkButton </span><span style="color: red">Content</span><span style="color: blue">=&quot;Go to Silverlight Website&quot; </span><span style="color: red">Click</span><span style="color: blue">=&quot;GoToSilverlight&quot; /&gt;</span></pre>
<pre class="code"><span style="color: blue">Imports </span>System.Windows.Browser

<span style="color: blue">Partial Public Class </span>HomePage
    <span style="color: blue">Inherits </span>Page

    <span style="color: blue">Public Sub New</span>()
        InitializeComponent()
    <span style="color: blue">End Sub

    </span><span style="color: green">'Executes when the user navigates to this page.
    </span><span style="color: blue">Protected Overrides Sub </span>OnNavigatedTo(<span style="color: blue">ByVal </span>e <span style="color: blue">As </span>System.Windows.Navigation.NavigationEventArgs)

    <span style="color: blue">End Sub
    Protected Sub </span>GoToSilverlight(<span style="color: blue">ByVal </span>sendar <span style="color: blue">As Object</span>, <span style="color: blue">ByVal </span>e <span style="color: blue">As </span>System.Windows.RoutedEventArgs)
        <span style="color: blue">If </span>(HtmlPage.IsPopupWindowAllowed) <span style="color: blue">Then
            </span>HtmlPage.PopupWindow( _
                <span style="color: blue">New </span>Uri(<span style="color: #a31515">&quot;http://www.silverlight.net&quot;</span>), <span style="color: blue">Nothing</span>, <span style="color: blue">Nothing</span>)
        <span style="color: blue">Else
            </span>HtmlPage.Window.Navigate(<span style="color: blue">New </span>Uri(<span style="color: #a31515">&quot;http://www.silverlight.net&quot;</span>))
        <span style="color: blue">End If

    End Sub
End Class
</span></pre>
<p><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-navigation-browser-navigation-overview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silverlight Plug-in Lifecycle</title>
		<link>http://allaboutasp.net/2009/04/silverlight-plug-in-lifecycle/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-plug-in-lifecycle/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:39:25 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Application class]]></category>
		<category><![CDATA[Silverlight plug-in]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-plug-in-lifecycle/</guid>
		<description><![CDATA[Silverlight Application class provides several services that commonly required by Silverlight application, so when you create a Silverlight you must create a class that is being derived from Silverlight Application class. Application class represents Entry point for your Silverlight application.
Silverlight Plug-in Lifecycle
Silverlight plug-in lifecycle starts with opening a web page that host a Silverlight plug-in. [...]]]></description>
			<content:encoded><![CDATA[<p>Silverlight <span style="font-family: Calibri; color: #800040; font-size: small;">Application</span> class provides several services that commonly required by Silverlight application, so when you create a Silverlight you must create a class that is being derived from Silverlight <span style="font-family: Calibri; color: #800040; font-size: small;">Application</span> class. <span style="font-family: Calibri; color: #800040; font-size: small;">Application</span> class represents Entry point for your Silverlight application.</p>
<h2>Silverlight Plug-in Lifecycle</h2>
<p>Silverlight plug-in lifecycle starts with opening a web page that host a Silverlight plug-in. If Silverlight plug-in is not present then web page ask you to install Silverlight browser plug-in. Then web browser activates the Silverlight plug-in and start downloading application package. Silverlight plug-in load Silverlight core services, followed by Silverlight CLR (<span style="font-family: Cambria; color: #004000; font-size: small;">Common Language Runtime</span>) which creates application domain for your application. After downloading application package CLR creates object of Application class and raise Application Startup event. Application constructor can also be used to initialize application task but generally its a good practice to use Application <span style="font-family: Californian FB; color: #804000; font-size: small;">Startup</span> event handler for most application initialization task.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Silverlight Plug-in Lifecycle" src="http://allaboutasp.net/wp-content/images/SilverlightApplicationServices_6167/SilverlightPluginLifecycle.jpg" border="0" alt="Silverlight Plug-in Lifecycle" width="525" height="385" /></p>
<p>There can be only one Application instance in a Silverlight-based application. After startup, the Application instance provides several services that applications commonly require. You can access these services from any code in your application by retrieving the <span style="font-family: Calibri; color: #800040; font-size: small;">Application</span> instance from the static <span style="font-family: Cambria; color: #004080; font-size: small;">Application.Current</span> property.</p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-plug-in-lifecycle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silverlight Application Lifetime Management</title>
		<link>http://allaboutasp.net/2009/04/silverlight-application-lifetime-management/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-application-lifetime-management/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:37:29 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Applicaation Lifetime Management]]></category>
		<category><![CDATA[Silverlight Application Exit]]></category>
		<category><![CDATA[Silverlight Application startup]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-application-lifetime-management/</guid>
		<description><![CDATA[Silverlight Application class provides a number of features to developers and Application Lifetime management is one feature that is being offered by Silverlight Application class. You can add code to your application class that runs at the following points in the application lifetime:
The application class constructor
Application class constructor can be used for basic initialization of [...]]]></description>
			<content:encoded><![CDATA[<p>Silverlight Application class provides a number of features to developers and Application Lifetime management is one feature that is being offered by Silverlight Application class. You can add code to your application class that runs at the following points in the application lifetime:</p>
<h2>The application class constructor</h2>
<p>Application class constructor can be used for basic initialization of variables and attaching event handlers. Application class constructor typically includes a call to <span style="font-family: Cambria; color: #804000; font-size: small;">InitializeComponent</span> method which is responsible for merging of XAML and code behind file. Generally your application classes are defined using XAML markup and a code-behind file.</p>
<pre class="code"><span style="color: blue">public Sub New</span>()
    InitializeComponent()
<span style="color: blue">End Sub</span></pre>
<h2>The application Startup event</h2>
<p>Silverlight plug-in raises Application Startup event after loading application package. At this point of time all application package assemblies are loaded and available for use. Application Startup event can be used for</p>
<ul>
<li>Process data that you retrieve at startup, such as initialization and URL parameters, or data stored in a previous application session.</li>
<li>Display the application user interface (UI).</li>
<li>Begin asynchronous downloads of additional resource files or assemblies.</li>
</ul>
<pre class="code" style="width: 529px; height: 67px;"><span style="color: blue">Private Sub </span>Application_Startup(<span style="color: blue">ByVal </span>o <span style="color: blue">As Object</span>, <span style="color: blue">ByVal </span>e <span style="color: blue">As </span>StartupEventArgs) <span style="color: blue">Handles Me</span>.Startup
    <span style="color: blue">Me</span>.RootVisual = <span style="color: blue">New </span>MainPage()
<span style="color: blue">End Sub</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<h2>Application Exit</h2>
<p>The <span style="font-family: Calibri; color: #800040; font-size: small;">Application.Exit</span> event occurs when one of the following actions takes place:</p>
<ul>
<li>The user closes the Web page hosting the Silverlight plug-in.</li>
<li>The user refreshes the host Web page.</li>
<li>The user navigates the browser away from the host Web page.</li>
<li>The host Web page uses JavaScript and the HTML DOM to remove the plug-in from the page.</li>
<li>The user logs off or shuts down the operating system.</li>
</ul>
<p>One common use for the Application.Exit event is to save application settings by using the <span style="font-family: Cambria; color: #004000; font-size: small;">IsolatedStorageSettings</span> class. For more information, see How to: Store and Retrieve Application Settings Using Isolated Storage.</p>
<pre class="code" style="width: 531px; height: 70px;"><span style="color: blue">Private Sub </span>Application_Exit(<span style="color: blue">ByVal </span>o <span style="color: blue">As Object</span>, <span style="color: blue">ByVal </span>e <span style="color: blue">As </span>EventArgs) <span style="color: blue">Handles Me</span>.Exit

<span style="color: blue">End Sub</span></pre>
<p><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-application-lifetime-management/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silverlight Application and Programming Model</title>
		<link>http://allaboutasp.net/2009/04/silverlight-application-and-programming-model/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-application-and-programming-model/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 02:44:57 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Application Model]]></category>
		<category><![CDATA[Silverlight programming model]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-application-and-programming-model/</guid>
		<description><![CDATA[Application that are written for targeting Silverlight 2.0 platform using managed code uses Silverlight Application model. Application model refers to application packaging and the common functionality encapsulated by the Application class. The application model helps you to develop both simple applications and complex, extensible applications that can share resources across a network. Silverlight offers two [...]]]></description>
			<content:encoded><![CDATA[<p>Application that are written for targeting Silverlight 2.0 platform using managed code uses Silverlight Application model. Application model refers to application packaging and the common functionality encapsulated by the Application class. The application model helps you to develop both simple applications and complex, extensible applications that can share resources across a network. Silverlight offers two different programming model for developing Silverlight applications.</p>
<ul>
<li>The managed API for Silverlight</li>
<li>The JavaScript API for Silverlight</li>
</ul>
<p>You can not use both these programming models at same time with in the single application. Managed API model provides more functionality as compare to JavaScript model because application using managed API model can also access lightweight .Net framework classes.</p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-application-and-programming-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight Layout Container Panel: Grid</title>
		<link>http://allaboutasp.net/2009/04/silverlight-layout-container-panel-grid/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-layout-container-panel-grid/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 02:41:41 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Grid]]></category>
		<category><![CDATA[Silverlight Container Panel]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-layout-container-panel-grid/</guid>
		<description><![CDATA[Grid is one of the Silverlight container layout panel that enable complex layout. By default grid contains one row and one column. RowDefinations and ColumDefinations collections also be used to define more rows and columns in Grid. RowDefination and ColumnDefination objects are used to define the size of each row and column inside Grid. In [...]]]></description>
			<content:encoded><![CDATA[<p>Grid is one of the Silverlight container layout panel that enable complex layout. By default grid contains one row and one column. RowDefinations and ColumDefinations collections also be used to define more rows and columns in Grid. <font color="#804000" size="3" face="Cambria">RowDefination</font> and <font color="#804000" size="3" face="Cambria">ColumnDefination</font> objects are used to define the size of each row and column inside Grid. In Silverlight Grid is designed to use for your application it is not design for displaying the data, it’s not like GridView in Visual Studio.</p>
<p><font color="#800040" size="3" face="Calibri">Grid.Column</font> and <font color="#800040" size="3" face="Calibri">Grid.Row</font> properties are used to position objects in specific cells.</p>
<p>For scenarios that require application layout that is not possible using any of the predefined Panel elements, custom layout behaviors can be achieved by inheriting from Panel and overriding the default measure and arrange behavior by using the <font size="3" face="Andalus"><font color="#804000"><font face="Cambria">MeasureOverride</font></font></font> and <font color="#804000" size="3" face="Cambria">ArrangeOverride</font> methods. For more information</p>
<p>Example</p>
<pre class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">UserControl </span><span style="color: red">x</span><span style="color: blue">:</span><span style="color: red">Class</span><span style="color: blue">=&quot;SilverlightApplication3.MainPage&quot;
    </span><span style="color: red">xmlns</span><span style="color: blue">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    </span><span style="color: red">xmlns</span><span style="color: blue">:</span><span style="color: red">x</span><span style="color: blue">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    </span><span style="color: red">Width</span><span style="color: blue">=&quot;400&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;300&quot;&gt;
    &lt;</span><span style="color: #a31515">Grid </span><span style="color: red">x</span><span style="color: blue">:</span><span style="color: red">Name</span><span style="color: blue">=&quot;LayoutRoot&quot; </span><span style="color: red">Background</span><span style="color: blue">=&quot;#DCDCDC&quot; </span><span style="color: red">Width</span><span style="color: blue">=&quot;400&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;300&quot; </span><span style="color: red">ShowGridLines</span><span style="color: blue">=&quot;True&quot;&gt;
        &lt;</span><span style="color: #a31515">Grid.ColumnDefinitions</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">ColumnDefinition </span><span style="color: red">Width</span><span style="color: blue">=&quot;250&quot; /&gt;
            &lt;</span><span style="color: #a31515">ColumnDefinition </span><span style="color: red">Width</span><span style="color: blue">=&quot;150&quot; /&gt;
        &lt;/</span><span style="color: #a31515">Grid.ColumnDefinitions</span><span style="color: blue">&gt;
        &lt;</span><span style="color: #a31515">Grid.RowDefinitions</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;Auto&quot; /&gt;
            &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;2*&quot; /&gt;
            &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;*&quot;/&gt;
        &lt;/</span><span style="color: #a31515">Grid.RowDefinitions</span><span style="color: blue">&gt;
        &lt;</span><span style="color: #a31515">TextBlock </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Grid.ColumnSpan</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; </span><span style="color: red">FontWeight</span><span style="color: blue">=&quot;Bold&quot;  </span><span style="color: red">Foreground</span><span style="color: blue">=&quot;Blue&quot;  </span><span style="color: red">Text</span><span style="color: blue">=&quot;Silverlight Grid Demo&quot; </span><span style="color: red">HorizontalAlignment</span><span style="color: blue">=&quot;Center&quot; </span><span style="color: red">VerticalAlignment</span><span style="color: blue">=&quot;Center&quot; /&gt;
        &lt;</span><span style="color: #a31515">Grid </span><span style="color: red">x</span><span style="color: blue">:</span><span style="color: red">Name</span><span style="color: blue">=&quot;FormLayoutGrid&quot; </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">ShowGridLines</span><span style="color: blue">=&quot;True&quot;&gt;
            &lt;</span><span style="color: #a31515">Grid.ColumnDefinitions</span><span style="color: blue">&gt;
                &lt;</span><span style="color: #a31515">ColumnDefinition </span><span style="color: red">Width</span><span style="color: blue">=&quot;Auto&quot; /&gt;
                &lt;</span><span style="color: #a31515">ColumnDefinition </span><span style="color: blue">/&gt;
            &lt;/</span><span style="color: #a31515">Grid.ColumnDefinitions</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">Grid.RowDefinitions</span><span style="color: blue">&gt;
                &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;*&quot; /&gt;
                &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;*&quot; /&gt;
                &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;*&quot; /&gt;
                &lt;</span><span style="color: #a31515">RowDefinition </span><span style="color: red">Height</span><span style="color: blue">=&quot;*&quot; /&gt;
            &lt;/</span><span style="color: #a31515">Grid.RowDefinitions</span><span style="color: blue">&gt;
            &lt;</span><span style="color: #a31515">TextBlock </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Text</span><span style="color: blue">=&quot;First Name&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; </span><span style="color: red">HorizontalAlignment</span><span style="color: blue">=&quot;Left&quot; </span><span style="color: red">VerticalAlignment</span><span style="color: blue">=&quot;Center&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBox </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBlock </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Text</span><span style="color: blue">=&quot;Last Name&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; </span><span style="color: red">HorizontalAlignment</span><span style="color: blue">=&quot;Left&quot; </span><span style="color: red">VerticalAlignment</span><span style="color: blue">=&quot;Center&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBox </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBlock </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;2&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Text</span><span style="color: blue">=&quot;Address&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; </span><span style="color: red">HorizontalAlignment</span><span style="color: blue">=&quot;Left&quot; </span><span style="color: red">VerticalAlignment</span><span style="color: blue">=&quot;Center&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBox </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;2&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBlock </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;3&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;0&quot; </span><span style="color: red">Text</span><span style="color: blue">=&quot;Email Address&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; </span><span style="color: red">HorizontalAlignment</span><span style="color: blue">=&quot;Left&quot; </span><span style="color: red">VerticalAlignment</span><span style="color: blue">=&quot;Center&quot; /&gt;
            &lt;</span><span style="color: #a31515">TextBox </span><span style="color: red">Grid.Row</span><span style="color: blue">=&quot;3&quot; </span><span style="color: red">Grid.Column</span><span style="color: blue">=&quot;1&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;10&quot; /&gt;
        &lt;/</span><span style="color: #a31515">Grid</span><span style="color: blue">&gt;
    &lt;/</span><span style="color: #a31515">Grid</span><span style="color: blue">&gt;

&lt;/</span><span style="color: #a31515">UserControl</span><span style="color: blue">&gt;
</span></pre>
<p><a href="http://11011.net/software/vspaste"></a><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Silverlight Grid Demo" border="0" alt="Silverlight Grid Demo" src="http://allaboutasp.net/wp-content/images/SilverlightLayoutContainerPanelGrid_6342/SilverlightGridDemo.jpg" width="525" height="396" /></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-layout-container-panel-grid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Silverlight Layout Container Panels : Stack Panel</title>
		<link>http://allaboutasp.net/2009/04/silverlight-layout-container-panels-stack-panel/</link>
		<comments>http://allaboutasp.net/2009/04/silverlight-layout-container-panels-stack-panel/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 02:41:07 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Layout Panels]]></category>
		<category><![CDATA[Silverlight Container Panel]]></category>
		<category><![CDATA[Stack Panel]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/silverlight-layout-container-panels-stack-panel/</guid>
		<description><![CDATA[Stack Panel is one of the Silverlight panel elements enable layout. Stack panel arranges objects in a list, list can be vertical or horizontal depending upon the direction. Orientation property determined the direction of list, default value of orientation property is vertical. 
Example 
&#60;StackPanel Margin=&#34;20&#34;&#62;
    &#60;Rectangle Fill=&#34;Brown&#34;  Width=&#34;50&#34; Height=&#34;50&#34; Margin=&#34;5&#34; /&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>Stack Panel is one of the Silverlight panel elements enable layout. Stack panel arranges objects in a list, list can be vertical or horizontal depending upon the direction. <font color="#800040" size="3" face="Calibri"><strong>Orientation</strong></font> property determined the direction of list, default value of orientation property is vertical. </p>
<p>Example </p>
<pre class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">StackPanel </span><span style="color: red">Margin</span><span style="color: blue">=&quot;20&quot;&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">Fill</span><span style="color: blue">=&quot;Brown&quot;  </span><span style="color: red">Width</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;5&quot; /&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">Fill</span><span style="color: blue">=&quot;Blue&quot; </span><span style="color: red">Width</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;5&quot; /&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">Fill</span><span style="color: blue">=&quot;Green&quot; </span><span style="color: red">Width</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;5&quot; /&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">Fill</span><span style="color: blue">=&quot;Yellow&quot;  </span><span style="color: red">Width</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Margin</span><span style="color: blue">=&quot;5&quot; /&gt;
&lt;/</span><span style="color: #a31515">StackPanel</span><span style="color: blue">&gt;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/silverlight-layout-container-panels-stack-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight Layout Container Panels &#8211; Canvas Panel</title>
		<link>http://allaboutasp.net/2009/04/layout-container-panels-canvas-panel/</link>
		<comments>http://allaboutasp.net/2009/04/layout-container-panels-canvas-panel/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:43:30 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Canvas Panel]]></category>
		<category><![CDATA[Silverlight Container Panel]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/04/layout-container-panels/</guid>
		<description><![CDATA[When you start creating Silverlight based applications, one of first things you will need to choose how your Silverlight application layout. Silverlight provides five layout panels. The default panel is Grid panel.
Canvas Panel
Canvas is one of the Silverlight panel, that enables layout of your Silverlight applications. Control positing inside Canvas in controlled by specifying the [...]]]></description>
			<content:encoded><![CDATA[<p>When you start creating Silverlight based applications, one of first things you will need to choose how your Silverlight application layout. Silverlight provides five layout panels. The default panel is Grid panel.</p>
<h2>Canvas Panel</h2>
<p>Canvas is one of the Silverlight panel, that enables layout of your Silverlight applications. Control positing inside Canvas in controlled by specifying the X and Y coordinates of&#160; controls. These coordinates are in pixel. Canvas.Left and Canvas.Top properties can also be use for specifying X and Y coordinates. Canvas objects can also be nested. Each child element must be <font color="#008040" size="3" face="Cambria"><strong>UIElement</strong></font>.&#160; <strong><font color="#800040" size="3" face="Calibri">Children</font></strong> property is used for accessing Canvas child elements in code. Sometimes Canvas is used as a container for other objects in that Canvas does not have any <font color="#800040" size="3" face="ca"><strong>visible</strong></font> property. A Canvas is not visible if any of the following conditions are true:</p>
<ul>
<li>The Height property is equal to 0. </li>
<li>The Width property is equal to 0. </li>
<li>The Background property is equal to nullNothingnullptrunita null reference (Nothing in Visual Basic). </li>
<li>The Opacity property is equal to 0. </li>
<li>The Visibility property is equal to Visibility..::..Collapsed. </li>
<li>One of the ancestor objects of the Canvas is not visible. </li>
</ul>
<h3>Canvas Example</h3>
<pre style="width: 525px; height: 81px" class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">Canvas </span><span style="color: red">Width</span><span style="color: blue">=&quot;640&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;480&quot; </span><span style="color: red">Background</span><span style="color: blue">=&quot;White&quot;&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">Canvas.Left</span><span style="color: blue">=&quot;30&quot; </span><span style="color: red">Canvas.Top</span><span style="color: blue">=&quot;30&quot;
           </span><span style="color: red">Fill</span><span style="color: blue">=&quot;blue&quot; </span><span style="color: red">Width</span><span style="color: blue">=&quot;250&quot; </span><span style="color: red">Height</span><span style="color: blue">=&quot;150&quot; /&gt;
    &lt;</span><span style="color: #a31515">Rectangle </span><span style="color: red">x</span><span style="color: blue">:</span><span style="color: red">Name </span><span style="color: blue">=&quot;CanvasRect&quot; </span><span style="color: red">Canvas.Left</span><span style="color: blue">=&quot;60&quot; </span><span style="color: red">Canvas.Top</span><span style="color: blue">=&quot;60&quot;  </span><span style="color: red">Height</span><span style="color: blue">=&quot;50&quot; </span><span style="color: red">Width</span><span style="color: blue">=&quot;100&quot; </span><span style="color: red">Fill</span><span style="color: blue">=&quot;Red&quot; &gt;&lt;/</span><span style="color: #a31515">Rectangle</span><span style="color: blue">&gt;
&lt;/</span><span style="color: #a31515">Canvas</span><span style="color: blue">&gt;</span></pre>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Canvas Example" border="0" alt="Canvas Example" src="http://allaboutasp.net/wp-content/images/SilverlightLayoutPanels_6AB6/CanvasExample.jpg" width="240" height="145" /> </p>
<p>In Next we will discuss about <a href="http://allaboutasp.net/2009/04/silverlight-layout-container-panels-dock-panel/" target="_blank">Silverlight&#160; Dock Panel Container</a> </p>
<p><a href="http://11011.net/software/vspaste">&#160;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/04/layout-container-panels-canvas-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Test XAML</title>
		<link>http://allaboutasp.net/2009/03/how-to-test-xaml/</link>
		<comments>http://allaboutasp.net/2009/03/how-to-test-xaml/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 02:43:04 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[KaXAML]]></category>
		<category><![CDATA[SilverlightPad]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/03/how-to-test-xaml/</guid>
		<description><![CDATA[XAML is acronym for eXtensible Application Markup Language (and pronounced “Zammel”) and it is used for developing Silverlight Application. XAML can be written using any text editor like Notepad++, EditPlus or Simply Notepad, but after writing XAML there is a need to check whether XAML is working properly or not. There are tools available for [...]]]></description>
			<content:encoded><![CDATA[<p>XAML is acronym for eXtensible Application Markup Language (and pronounced “Zammel”) and it is used for developing Silverlight Application. XAML can be written using any text editor like Notepad++, EditPlus or Simply Notepad, but after writing XAML there is a need to check whether XAML is working properly or not. There are tools available for running XAML application including Visual Studio or Microsoft Expression Blend. But there are some other ways also that can be used to run and test you XAML Application</p>
<h2>SilverlightPad</h2>
<p>SilverlightPad is a community application available at Silverlight community website. SilverlightPad can be used online as well as offline. If you are running SilverlightPad online then you can see XAML files on the left hand side. JavaScript tab is also there for attaching JavaScript with XAML. The XAML markup you type is parsed when you click on the Parse button on the bottom right, and the corresponding UI is rendered in the Scene pane. </p>
<p>SilverlightPad can only be used for testing Silverlight 1.0 applications.</p>
<p><a href="http://silverlight.net/samples/1.0/Silverlight-Pad/default.html" target="_blank">Visit SilverlightPad Website</a></p>
<h2>KaXAML</h2>
<p>KaXAML is a windows application and it can be used to test Silverlight 2.0 applications also. On the right hand side KaXAML has a XAML pane where you can put or type XAML code. LaXAML also has a small toolbar comes very handy for taking snapshots, filling colors and performing some basic tasks.</p>
<p><a href="http://allaboutasp.net/wp-content/images/HowtoTestXAML_642D/KaXAML.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="KaXAML" border="0" alt="KaXAML" src="http://allaboutasp.net/wp-content/images/HowtoTestXAML_642D/KaXAML_thumb.jpg" width="480" height="304" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/03/how-to-test-xaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
