<?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>JAPF &#187; xaml</title>
	<atom:link href="http://www.japf.fr/tag/xaml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.japf.fr</link>
	<description>Jeremy Alles Presentation Foundation: WPF, .Net and modern software development</description>
	<lastBuildDate>Thu, 29 Jul 2010 07:29:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>R# can create resources for you in XAML</title>
		<link>http://www.japf.fr/2010/04/resharper-to-creates-resources-in-xaml/</link>
		<comments>http://www.japf.fr/2010/04/resharper-to-creates-resources-in-xaml/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:33:36 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://www.japf.fr/?p=498</guid>
		<description><![CDATA[I was aware for some time now that R# offers some support for editing XAML but I didn&#8217;t know the following features until recently.When you create a StaticResource in XAML, R# is able to help you by generating some code for you. The famous R# &#8220;bubble&#8221; shows up offering various options to create the resource: [...]]]></description>
			<content:encoded><![CDATA[<p>I was aware for some time now that R# offers some support for editing XAML but I didn&#8217;t know the following features until recently.When you create a StaticResource in XAML, R# is able to help you by generating some code for you. The famous R# &#8220;bubble&#8221; shows up offering various options to create the resource:</p>
<p><a href="http://www.japf.fr/wp-content/uploads/2010/04/2.png" rel="lightbox[498]"><img class="alignnone size-full wp-image-501" title="2" src="http://www.japf.fr/wp-content/uploads/2010/04/2.png" alt="" width="507" height="191" /></a></p>
<p>Then the resource is automatically created for you:</p>
<p><a href="http://www.japf.fr/wp-content/uploads/2010/04/3.png" rel="lightbox[498]"><img class="alignnone size-full wp-image-502" title="3" src="http://www.japf.fr/wp-content/uploads/2010/04/3.png" alt="" width="469" height="173" /></a></p>
<p>Note that it works with converter too:</p>
<p><a href="http://www.japf.fr/wp-content/uploads/2010/04/4.png" rel="lightbox[498]"><img class="alignnone size-full wp-image-503" title="4" src="http://www.japf.fr/wp-content/uploads/2010/04/4.png" alt="" width="691" height="255" /></a></p>
<p>R# 5.0 has been released a couple of weeks ago. Go ahead and <a href="http://www.jetbrains.com/resharper/">grab your copy</a> !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.japf.fr/2010/04/resharper-to-creates-resources-in-xaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BezierSegment demo application</title>
		<link>http://www.japf.fr/2009/07/beziersegment-demo-application/</link>
		<comments>http://www.japf.fr/2009/07/beziersegment-demo-application/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:00:52 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://www.japf.fr/?p=227</guid>
		<description><![CDATA[It has been a long time since my last post, I&#8217;m must admit I was both busy and trying to find something cool to blog about. Because I&#8217;ll be in holidays tomorrow, I decided to take some time to build a sample application that demonstrates a feature of WPF I&#8217;m going to use soon. In [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long time since my last post, I&#8217;m must admit I was both busy and trying to find something cool to blog about. Because I&#8217;ll be in holidays tomorrow, I decided to take some time to build a sample application that demonstrates a feature of WPF I&#8217;m going to use soon.</p>
<p>In the sample application (source code <a href="//www.japf.fr/wp-content/uploads/2009/07/beziersegmentdemo.zip">available here</a>), you will be able to play with the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.beziersegment.aspx">BezierSegment</a> class. I created a simple control that wrap the BezierSegment into something more easy to visualize.The application allows you to drag and drop points and to animate the line.</p>
<p>Here is the result:</p>
<p><a href="http://www.japf.fr/wp-content/uploads/2009/07/bezierdemo.png" rel="lightbox[227]"><img class="alignnone size-medium wp-image-228" title="bezierdemo" src="http://www.japf.fr/wp-content/uploads/2009/07/bezierdemo-300x300.png" alt="bezierdemo" width="300" height="300" /></a></p>
<p>I hope you&#8217;ll like it ! The reason I&#8217;m going to use this class is in a diagramming control (like Visio) to connect shapes together&#8230;</p>
<p>Download <a href="//www.japf.fr/wp-content/uploads/2009/07/beziersegmentdemo.zip">the source code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.japf.fr/2009/07/beziersegment-demo-application/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The future of WPF at Mix09</title>
		<link>http://www.japf.fr/2009/03/the-future-of-wpf-at-mix09/</link>
		<comments>http://www.japf.fr/2009/03/the-future-of-wpf-at-mix09/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 20:27:54 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[mix09]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://www.japf.fr/?p=178</guid>
		<description><![CDATA[MIX09 is now over and the good news is that we can watch all sessions that have been recorded online ! I didn&#8217;t have time yet to watch all sessions I&#8217;m interested in, but I already saw &#8220;What&#8221;s new in WPF 4&#8243; video (available here). Here are the important points of this session regarding the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.japf.fr/wp-content/uploads/2009/03/mix09.jpg" rel="lightbox[178]"><img class="alignnone size-full wp-image-164" title="mix09" src="http://www.japf.fr/wp-content/uploads/2009/03/mix09.jpg" alt="mix09" width="129" height="113" /></a></p>
<p>MIX09 is now over and the good news is that we can watch all sessions that have been recorded <a href="http://videos.visitmix.com/MIX09/T39F">online</a> !</p>
<p>I didn&#8217;t have time yet to watch all sessions I&#8217;m interested in, but I already saw &#8220;What&#8221;s new in WPF 4&#8243; video (available <a href="http://videos.visitmix.com/MIX09/T39F">here</a>).</p>
<p>Here are the important points of this session regarding the future of WPF:</p>
<ul>
<li>Lot of new things are coming in WPF4: <strong>Text clarity improved</strong>, <strong>Multi-touch</strong>, Windows7 integration, <strong>Ribbon </strong>control, <strong>Focus management improvements</strong>, <strong>Visual State Manager</strong>, Client profile, Themes, Chart controls and a lot of <strong>bug fixes</strong>&#8230;</li>
<li>WPF4 will come together with .Net4 which brings its own set of cool new stuff: Dynamic Language, MEF, F#, parallel library</li>
<li>WPF will be the best choise for RAD under Windows7: Multi-touch, <strong>Taskbar integration</strong>, Ribbon, <strong>Common dialogs</strong>, <strong>File explorer</strong> customization&#8230;</li>
<li><strong>Multi-touch support</strong>: UIElement changes to manage touch related events, touch support is added for some controls (ScrollViewer)</li>
<li><strong>New composition API</strong>: developers can control graphical elements cached in video memory</li>
<li>Controls that are currently available in the <a href="http://www.codeplex.com/wpf">WPF toolkit</a> will be integrated into the platform (DataGrid, DatePicker&#8230;) &#8211; moreover an update of the toolkit has just been released</li>
<li>Developers tools are improved: VS2010 and Blend3 helps the usage of WPF (databinding support&#8230;)</li>
<li>.Net4 will come with a <strong>new XAML parser</strong>: faster, extensible, public API to manage BAML format</li>
<li>.Net4 XAML language has <strong>new XAML features</strong>: support for generics, better references by name</li>
</ul>
<p>I hope will see a CTP soon so that we&#8217;ll start playing with those new features <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.japf.fr/2009/03/the-future-of-wpf-at-mix09/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XAML guidelines: interviews of WPF masters</title>
		<link>http://www.japf.fr/2009/01/xaml-guidelines-interviews-from-wpf-masters/</link>
		<comments>http://www.japf.fr/2009/01/xaml-guidelines-interviews-from-wpf-masters/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 12:16:42 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[practises]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://www.japf.fr/?p=101</guid>
		<description><![CDATA[Getting back to work this morning, I opened my Google Reader to have a look at the RSS feeds I’m reading. I found a nice video on Channel9: “XAML Guidelines, Part 2”. The first episode, where Jaime Rodriguez interviews 3 people from Identity Mines is also available on Channel9 (unfortunately, the sound is rather poor [...]]]></description>
			<content:encoded><![CDATA[<p>Getting back to work this morning, I opened my Google Reader to have a look at the RSS feeds I’m reading.</p>
<p>I found a nice video on Channel9: <a href="http://channel9.msdn.com/shows/Continuum/XAML-Guidelines-Part-2/">“XAML Guidelines, Part 2”</a>. <a href="http://channel9.msdn.com/shows/Continuum/XAML-Guidelines-Part-1/">The first episode</a>, where Jaime Rodriguez interviews 3 people from Identity Mines is also available on Channel9 (unfortunately, the sound is rather poor on this episode…).</p>
<p>This time, Jaime meets up with Unni Ravindranathan from the Expression Blend team. During the shot, they open the Blend source code project inside Blend (sounds nice isn’t it :p). Unni explains the structure of the project, their conventions, how resources are used, etc.</p>
<p>I think Blend is an application we can learn a lot from. If you’re also interested to understand what architecture Blend uses, you can check out <a href="http://www.paulstovell.com/blog/expression-framework-versus-composite-wpf">this post</a> from Paul Stovell.</p>
<p>Here are some notes I took while watching the video:</p>
<ul>
<li>Blend is shipped with 2 themes: Expression Light &amp; Expression Dark</li>
<li>Blend resources are stored in (only !) 3 resources dictionaries</li>
<li>Resources are categorized into Colors, Brushes and Styles</li>
<li>Blend defines a set of margins and thicknesses that are used in the entire application to ensure a consistency across the different layouts</li>
<li>By convention, Name and Key properties are always defined first in the XAML</li>
<li>Properties might be spitted over several lines, if this is the case; properties are grouped together by types (style, size, appearance…)</li>
<li>Blend 3 will add extensibility and improve XAML code generation:
<ul>- Name will always be the first property</ul>
<ul>- Better control over how the XAML is formatted</ul>
</li>
<li>Name everything versus name nothing? Blend names almost everything, it helps UI automation</li>
<li>Static resources versus dynamic resources? No big performance impact, Blend mostly uses dynamic resources</li>
<li>When design time doesn’t work fine in Blend
<ul>- An exception can occur when Blend is creating the control because the running process is Blend itself and not the application we are creating</ul>
<ul>- Add tests to check if code is running in design mode (you can use System.ComponentModel.DesignerProperties.GetIsInDesignMode(DependencyObject) method)</ul>
<ul>- Debug Blend process by attaching an instance of Visual Studio to Blend</ul>
</li>
<li>Blend is a big application:
<ul>- 300 000 lines of XAML</ul>
<ul>- 500 000 lines of C#</ul>
</li>
</ul>
<p>If you want more information about fixing error that we can have in Blend (while the application works properly at run time), you can check out <a href="http://blogs.msdn.com/jaimer/archive/2007/01/21/tweaking-your-wpf-code-to-run-in-expression-blend.aspx">this post</a> of Jaime.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.japf.fr/2009/01/xaml-guidelines-interviews-from-wpf-masters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
