<?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>ALOMOHORA &#187; Windows Presentation Foundation</title>
	<atom:link href="http://alomohora.com/tag/windows-presentation-foundation/feed/" rel="self" type="application/rss+xml" />
	<link>http://alomohora.com</link>
	<description>All about programming languages</description>
	<lastBuildDate>Tue, 25 Oct 2011 04:27:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WPF (Layout Controls)</title>
		<link>http://alomohora.com/wpf-layout-controls/</link>
		<comments>http://alomohora.com/wpf-layout-controls/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 05:48:29 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Windows Presentation Foundation]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=510</guid>
		<description><![CDATA[If you are a Web developer, probably most (but not all) of what this article is going to cover will be new to you. If you are a WinForms developer you have undoubtedly come across Panel classes before, and maybe even used some of the more sophisticated Panel sub classes, such as FlowLayoutPanel and TableLayoutPanel. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">If you are a Web developer, probably most (but not all) of what this article is going to cover will be new to you. If you are a WinForms developer you have undoubtedly come across Panel classes before, and maybe even used some of the more sophisticated Panel sub classes, such as FlowLayoutPanel and TableLayoutPanel. You should also be familiar with WinForms properties such as Anchor and Dock. Sounds familiar? Well, the truth is that some of this knowledge will still be useful, but you will still have to do some learning. For you Web guys, the good news is that the XAML syntax is fairly similar to XHTML, so you shouldn&#8217;t have any trouble picking up this new way of creating UIs either.</p>
<p style="text-align: justify;"><span id="more-510"></span></p>
<p style="text-align: justify;">Within WPF (at least the current version), Microsoft has provided a few Layout controls for developers/designers to use, most of which will be new ground to most of you, I imagine. These new layout controls will be the main focus of this article.</p>
<p style="text-align: justify;"><strong>Canvas</strong></p>
<p style="text-align: justify;">The Canvas control is one of the easier layout controls to use. It is a simple X/Y position container. Where each of the contained (children) controls must specify the following four properties in order to be positioned within the parent Canvas control:</p>
<ul type="disc">
<li style="text-align: justify;">Canvas.Left</li>
<li style="text-align: justify;">Canvas.Right</li>
<li style="text-align: justify;">Canvas.Top</li>
<li style="text-align: justify;">Canvas.Bottom</li>
</ul>
<p style="text-align: justify;">With these four properties in place, the control will be positioned using these values within the parent Canvas control.</p>
<p style="text-align: justify;">What else do we need to know about a Canvas control and its children? Well actually that&#8217;s almost it, the only other thing to consider is that if the Canvas control is a simple X/Y position container, what&#8217;s to stop two child controls, overlapping, and which child control should be on top. Well that&#8217;s all taken care of by another dependency/attached property of the Canvas control. This is called the Canvas.ZIndex property, and this indicates which control should be on top. Basically the higher the Canvas.ZIndex value is, the more on top the control that declares this dependency/attached property will be. If no Canvas.ZIndex is declared for any of the children controls, the Canvas.ZIndex will be set to the order in which the children are added to the Canvas control.</p>
<p style="text-align: justify;">Let&#8217;s see an example of this, shall we? The following picture shows a Canvas control with two children, one on top of the other.</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls1.png"><img class="aligncenter" title="Alomohora - WPF - Layout Controls1" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls1.png?w=300&amp;h=225" alt="Alomohora - WPF - Layout Controls1" width="300" height="225" /></a></p>
<p style="text-align: justify;"><strong>StackPanel</strong></p>
<p style="text-align: justify;">The StackPanel control is also very easy to use. It simply stacks its contents, vertically or horizontally, using a single property, called Orientation.</p>
<p style="text-align: justify;">Let&#8217;s see an example of this, shall we? The following picture shows a StackPanel control with two children, one on top of the other.</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls2.png"><img class="aligncenter" title="Alomohora - WPF - Layout Controls2" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls2.png?w=300&amp;h=225" alt="Alomohora - WPF - Layout Controls2" width="300" height="225" /></a></p>
<p style="text-align: justify;"><strong>WrapPanel</strong></p>
<p style="text-align: justify;">The WrapPanel control, again, is very easy to use (are you seeing a pattern here? Layout is fairly OK in WPF), it simply wraps its contents.</p>
<p style="text-align: justify;">Let&#8217;s see an example of this, shall we? The following picture shows a WrapPanel control with 10 children.</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls3.png"><img class="aligncenter" title="Alomohora - WPF - Layout Controls3" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls3.png?w=300&amp;h=225" alt="Alomohora - WPF - Layout Controls3" width="300" height="225" /></a></p>
<p style="text-align: justify;"><strong>DockPanel</strong></p>
<p style="text-align: justify;">The DockPanel control is one of the most useful (IMHO) layout controls. It is the one that we would probably use as the base layout control that any new Window uses. Basically with a DockPanel control (or 2), we can achieve the sort of layout that has been the main layout for most applications we have ever seen. We can basically get a menu docked to the top, then a left/right main content area, and a status strip at the bottom. This is all thanks to a couple of properties on the DockPanel control. Basically we can control the docking of any of our child controls that is within a parent DockPanel control by the use of the following dependency/attached property.</p>
<ul type="disc">
<li style="text-align: justify;">DockPanel.Dock</li>
</ul>
<p style="text-align: justify;">This property may be set to Left/Right/Top or Bottom. There is one further property exposed as a normal CLR property on the DockPanel control which is called LastChildFill which when set to true will make the last child control that was added to the DockPanel control, fill the remaining available space. This will override any DockPanel.Dock property that the child control may have already set.</p>
<p style="text-align: justify;">Let&#8217;s see an example of this, shall we? The following picture shows a DockPanel control with two children, one docked to the top, and the other docked to fill the remaining available area.</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls4.png"><img class="aligncenter" title="Alomohora - WPF - Layout Controls4" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-layout-controls4.png?w=300&amp;h=225" alt="Alomohora - WPF - Layout Controls4" width="300" height="225" /></a></p>
<p style="text-align: justify;"><strong>Grid</strong></p>
<p style="text-align: justify;">The Grid control is by far, the most sophisticated WPF layout control there is (at present). It is sort of like an HTML table control, where you can specify rows and columns, and have cells that span multiple rows, or cells that span multiple columns. There is also a strange syntax which may be used for the Width/Height of Columns and Rows, which is known as the Star &#8220;*&#8221; notation, which is exposed through the use of the GridLength class. Think of this as being like a percentage of what&#8217;s left divider. For example I could have some markup such as:</p>
<p style="text-align: justify; text-indent: 20pt;">&lt;Grid.ColumnDefinitions&gt;</p>
<p style="text-align: justify; text-indent: 40pt;">&lt;ColumnDefinition Width=&#8221;40&#8243;/&gt;</p>
<p style="text-align: justify; text-indent: 40pt;">&lt;ColumnDefinition Width=&#8221;*&#8221;/&gt;</p>
<p style="text-align: justify; text-indent: 40pt;">&lt;ColumnDefinition Width=&#8221;2*&#8221;/&gt;</p>
<p style="text-align: justify; text-indent: 20pt;">&lt;/Grid.ColumnDefinitions&gt;</p>
<p style="text-align: justify;">Where I have declared three Grid ColumnDefinition controls, where the first ColumnDefinition gets a fixed width of 40 pixels, and the remaining space is divided between the last two ColumnDefinition controls, where the last one gets twice as much as the second last one. This is the same principle for RowDefinition.</p>
<p style="text-align: justify;">In order for child controls of a Grid control to tell the WPF layout system which cell they belong to, we simply use the following dependency/attached properties, which use a 0 based index.</p>
<ul type="disc">
<li style="text-align: justify;">Grid.Column</li>
<li style="text-align: justify;">Grid.Row</li>
</ul>
<p style="text-align: justify;">And to specify how many rows or columns a cell should occupy, we simply use the following dependency/attached properties, which starts at 1.</p>
<ul type="disc">
<li style="text-align: justify;">Grid.ColumnSpan</li>
<li style="text-align: justify;">Grid.RowSpan</li>
</ul>
<p style="text-align: justify;">By clever usage of a Grid control, you should almost be able to mimic any of the other layout controls. I&#8217;ll leave that as an exercise for the reader.</p>
<p style="text-align: justify;">Let&#8217;s see an example of the Grid control, shall we? The following picture shows a Grid control with 3 Columns and 1 Row, where there are two children. The first child occupies Column 1, and the second child occupies Columns 2-3 as its Grid.ColumnSpan is set to 2.</p>
<p style="text-align: center;" title="Alomohora - WPF - Layout Controls5">
<p style="text-align: justify;"><a href="http://alomohora.com/wp-download/WPF%20-%20Layout%20Controls.zip">Download Source Code</a></p>
<h4>Incoming search terms for the article:</h4><p style="text-align: justify;"><a href="http://alomohora.com/wpf-layout-controls/" title="tablelayoutpanel">tablelayoutpanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout examples">wpf layout examples</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout controls">wpf layout controls</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout on top">wpf layout on top</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="DELPHI DockPanel">DELPHI DockPanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="stop overlap control in wpf">stop overlap control in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf show grid top of others">wpf show grid top of others</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf size percentage">wpf size percentage</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf control z index">wpf control z index</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf tutorial">wpf tutorial</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrappanel zindex">wpf wrappanel zindex</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="layout controls in wpf">layout controls in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how to stop overlapping of control in wpf">how to stop overlapping of control in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf controls">wpf controls</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layouts and patterns">wpf layouts and patterns</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layouts">wpf layouts</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="WPF Layout samples">WPF Layout samples</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="WPF layoutgid children zorder">WPF layoutgid children zorder</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layoutcontrol sample">wpf layoutcontrol sample</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout zindex">wpf layout zindex</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout grid percentage">wpf layout grid percentage</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="WPF layout which control to use">WPF layout which control to use</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout">wpf layout</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layout control for even layout of child controls">wpf layout control for even layout of child controls</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf control z-index">wpf control z-index</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="WPF dock panel example">WPF dock panel example</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf docking example">wpf docking example</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="WPF DockPanel content percentage">WPF DockPanel content percentage</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf dockpanel percentage">wpf dockpanel percentage</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf dockpanel size percent">wpf dockpanel size percent</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf find child control">wpf find child control</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf get x y position from wrappanel">wpf get x y position from wrappanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf getcanvas">wpf getcanvas</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf grid layout children focus">wpf grid layout children focus</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf highest control zindex">wpf highest control zindex</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf how to get canvas top left of child elements">wpf how to get canvas top left of child elements</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf how to position controls canvas without overlap">wpf how to position controls canvas without overlap</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf image stop overlapping">wpf image stop overlapping</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layouts best">wpf layouts best</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layouts examples">wpf layouts examples</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrappanel children many">wpf wrappanel children many</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrappanel determine how many lines">wpf wrappanel determine how many lines</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrappanel proportion">wpf wrappanel proportion</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrappanel sortable">wpf wrappanel sortable</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf x y position">wpf x y position</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf xy container">wpf xy container</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf xy layout">wpf xy layout</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf z index between two control">wpf z index between two control</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf z-index grid">wpf z-index grid</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf zindex dockpanel">wpf zindex dockpanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf zindex in image grid">wpf zindex in image grid</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wrappanel column">wrappanel column</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="z index wrappanel">z index wrappanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="zindex focus wpf">zindex focus wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf wrap panel zindex">wpf wrap panel zindex</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf vb findcontrol in wrappanel">wpf vb findcontrol in wrappanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf two controls overlapping top">wpf two controls overlapping top</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf layouts patterns">wpf layouts patterns</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf multi panel divider">wpf multi panel divider</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf ontop control">wpf ontop control</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf panel on top z-index">wpf panel on top z-index</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf position controls on canvas">wpf position controls on canvas</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf position percentage">wpf position percentage</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf prevent canvas items from overlapping">wpf prevent canvas items from overlapping</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf put controls on top of each other">wpf put controls on top of each other</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf set z index proterty of image">wpf set z index proterty of image</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf share layout">wpf share layout</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf showing a panel on top">wpf showing a panel on top</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf stop layout">wpf stop layout</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf stop overlapping">wpf stop overlapping</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="wpf two controls one place">wpf two controls one place</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="Zindexwpf">Zindexwpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="1 row 2 columns wpf">1 row 2 columns wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel set with in [percentage wpf">dockpanel set with in [percentage wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel size percentage WPF">dockpanel size percentage WPF</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel wpf children even width">dockpanel wpf children even width</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel zindex">dockpanel zindex</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="fix position of table panel layout without using Dock winforms">fix position of table panel layout without using Dock winforms</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="focus to grid children wpf">focus to grid children wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="get all children in canvas using linQ wpf">get all children in canvas using linQ wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="getting canvas x and y positions in wpf">getting canvas x and y positions in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="getting the controls index in layout in wpf">getting the controls index in layout in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how find controls present in canvas in wpf">how find controls present in canvas in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how many control use in wpf new version">how many control use in wpf new version</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how setup Dockpanel in WPF">how setup Dockpanel in WPF</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how to manage multiple dockpanel in wpf">how to manage multiple dockpanel in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="how to place childs oneover the other in dockpanel in wpf">how to place childs oneover the other in dockpanel in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel percentage width wpf">dockpanel percentage width wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel percentage width">dockpanel percentage width</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="dockpanel control wpf">dockpanel control wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="add controls to canvas wpf">add controls to canvas wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="add the control to new line if it overlaps grid wpf">add the control to new line if it overlaps grid wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="article reader wpf">article reader wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="best wpf layout controls">best wpf layout controls</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="calculate how many rows in wrappanel for wpf controls">calculate how many rows in wrappanel for wpf controls</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="calculate how many wpfcontrols in wrappanel">calculate how many wpfcontrols in wrappanel</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="can we fix the cancas in wpf">can we fix the cancas in wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="canvas wpf">canvas wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="control dock on top wpf">control dock on top wpf</a>, <a href="http://alomohora.com/wpf-layout-controls/" title="control wpf x y">control wpf x y</a></p>]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/wpf-layout-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF (Composite Application Guidance)</title>
		<link>http://alomohora.com/wpf-installing-the-composite-application-guidance/</link>
		<comments>http://alomohora.com/wpf-installing-the-composite-application-guidance/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 02:20:39 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Windows Presentation Foundation]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=518</guid>
		<description><![CDATA[The Composite Application Guidance for WPF is designed to help you more easily build enterprise-level Windows Presentation Foundation (WPF) client applications. If you want to use all the assets in the Composite Application Guidance for WPF, the following must be installed: Microsoft Visual Studio 2008 .NET Framework 3.5. If you want to run the acceptance [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">The Composite Application Guidance for WPF is designed to help you more easily build enterprise-level Windows Presentation Foundation (WPF) client applications.</p>
<p style="text-align: justify;"><span id="more-518"></span></p>
<p style="text-align: justify">If you want to use all the assets in the Composite Application Guidance for WPF, the following must be installed:</p>
<ul type="disc">
<li style="text-align: justify;"><a href="http://msdn2.microsoft.com/en-us/vstudio/default.aspx">Microsoft Visual Studio 2008</a></li>
<li style="text-align: justify;"> <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6&amp;displaylang=en">.NET Framework 3.5.</a></li>
<li style="text-align: justify;">If you want to run the acceptance tests, you need to have the White assemblies. For more information about White, including download information, see <a href="http://www.codeplex.com/white">White</a> (optional).</li>
</ul>
<p style="text-align: justify"><strong>Installation Steps</strong></p>
<p style="text-align: justify">Use the following steps to install the Composite Application Guidance for WPF:</p>
<ul type="disc">
<li style="text-align: justify;"><a href="http://www.codeplex.com/CompositeWPF/Release/ProjectReleases.aspx">Download</a> and run the Composite Application Guidance for WPF installer</li>
<li style="text-align: justify;">Read and accept the Composite Application Guidance for WPF EULA. To do this select Yes from the Installer splash screen.</li>
</ul>
<p style="text-align: center"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-installing-the-composite-application-guidance1.png"><img class="aligncenter" title="Alomohora - WPF - Installing the Composite Application Guidance1" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-installing-the-composite-application-guidance1.png?w=300&amp;h=279" alt="Alomohora - WPF - Installing the Composite Application Guidance1" width="300" height="279" /></a></p>
<p style="text-align: justify">Select the destination folder where you want to extract the guidance and then select OK to extract the files.</p>
<p style="text-align: center"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-installing-the-composite-application-guidance2.png"><img class="aligncenter" title="Alomohora - WPF - Installing the Composite Application Guidance2" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-installing-the-composite-application-guidance2.png?w=300&amp;h=293" alt="Alomohora - WPF - Installing the Composite Application Guidance2" width="300" height="293" /></a></p>
<p style="text-align: justify">After the extraction process completes, you will find the guidance in the folder you selected.</p>
<h4>Incoming search terms for the article:</h4><p style="text-align: justify;"><a href="http://alomohora.com/wpf-installing-the-composite-application-guidance/" title="composite application WPF tour">composite application WPF tour</a>, <a href="http://alomohora.com/wpf-installing-the-composite-application-guidance/" title="wpf composite application">wpf composite application</a>, <a href="http://alomohora.com/wpf-installing-the-composite-application-guidance/" title="wpf splash screen composite application framework">wpf splash screen composite application framework</a></p>]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/wpf-installing-the-composite-application-guidance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF (Hello World Application)</title>
		<link>http://alomohora.com/wpf-hello-world-wpf-application/</link>
		<comments>http://alomohora.com/wpf-hello-world-wpf-application/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 08:00:40 +0000</pubDate>
		<dc:creator>alomohora</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Windows Presentation Foundation]]></category>

		<guid isPermaLink="false">http://alomohora.com/?p=413</guid>
		<description><![CDATA[Hello, I’m going to write a series of articles about WPF (Windows Presentation Foundation). This only pretends to be an introduction. I’m learning WPF as you, so feedback is welcome. First of all, if you want to start with WPF, you must install Microsoft Visual Studio 2008. Then, you have to create a new WPF [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">Hello, I’m going to write a series of articles about <strong>WPF (Windows Presentation Foundation)</strong>.</p>
<p style="text-align: justify;"><span id="more-413"></span></p>
<p style="text-align: justify">This only pretends to be an introduction. I’m learning WPF as you, so feedback is welcome. First of all, if you want to start with WPF, you must install Microsoft Visual Studio 2008.</p>
<p style="text-align: justify">Then, you have to create a new <strong>WPF Application</strong>.</p>
<p style="text-align: center"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application1.png"><img class="aligncenter" title="Alomohora - WPF - Hello World Application1" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application1.png?w=300&amp;h=206" alt="Alomohora - WPF - Hello World Application1" width="300" height="206" /></a></p>
<p style="text-align: justify">Now we have a file <strong>Window1.xaml</strong>. Replace the code with this:</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application2.png"><img class="aligncenter" title="Alomohora - WPF - Hello World Application2" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application2.png?w=230&amp;h=300" alt="Alomohora - WPF - Hello World Application2" width="230" height="299" /></a></p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application31.png"><img class="aligncenter" title="Alomohora - WPF - Hello World Application3" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application31.png?w=300&amp;h=139" alt="Alomohora - WPF - Hello World Application3" width="300" height="139" /></a></p>
<p style="text-align: justify">Also, add this code to the code behind (<strong>Window1.xaml.cs</strong>)</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application41.png"><img class="aligncenter" title="Alomohora - WPF - Hello World Application4" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application41.png?w=300&amp;h=229" alt="Alomohora - WPF - Hello World Application4" width="300" height="229" /></a></p>
<p style="text-align: justify">And we are ready to launch our application.</p>
<p style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application51.png"><img class="aligncenter" title="WPF - Hello World Application5" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application51.png?w=298&amp;h=300" alt="WPF - Hello World Application5" width="297" height="299" /></a></p>
<p class="MsoNormal" style="text-align: center;"><a href="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application61.png"><img class="aligncenter" title="Alomohora - WPF - Hello World Application6" src="http://makiki.files.wordpress.com/2009/01/alomohora-wpf-hello-world-application61.png?w=298&amp;h=300" alt="WPF - Hello World Application6" width="297" height="299" /></a></p>
<p style="text-align: justify">I hope this is useful. <a href="http://alomohora.com/wp-download/HelloWorldWPFApplication.rar">Download source code</a>.</p>
<h4>Incoming search terms for the article:</h4><p style="text-align: justify;"><a href="http://alomohora.com/wpf-hello-world-wpf-application/" title="wpf hello world application">wpf hello world application</a>, <a href="http://alomohora.com/wpf-hello-world-wpf-application/" title="wpf hello world">wpf hello world</a>, <a href="http://alomohora.com/wpf-hello-world-wpf-application/" title="wpf application hello world">wpf application hello world</a>, <a href="http://alomohora.com/wpf-hello-world-wpf-application/" title="wpf hello world source code">wpf hello world source code</a>, <a href="http://alomohora.com/wpf-hello-world-wpf-application/" title="wpf hello world#">wpf hello world#</a></p>]]></content:encoded>
			<wfw:commentRss>http://alomohora.com/wpf-hello-world-wpf-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

