<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Avalon (WPF)</title><link>http://blogs.labo-dotnet.com/patrice/category/451.aspx</link><description>Avalon (WPF)</description><managingEditor>Patrice</managingEditor><dc:language>fr-FR</dc:language><generator>.Text Version 0.95.2004.101</generator><item><dc:creator>Patrice Lamarche</dc:creator><title>[WPF] Débuter avec Windows Presentation Foundation</title><link>http://blogs.labo-dotnet.com/patrice/archive/2006/04/27/debuterwpf.aspx</link><pubDate>Thu, 27 Apr 2006 07:17:00 GMT</pubDate><guid>http://blogs.labo-dotnet.com/patrice/archive/2006/04/27/debuterwpf.aspx</guid><wfw:comment>http://blogs.labo-dotnet.com/patrice/comments/10572.aspx</wfw:comment><comments>http://blogs.labo-dotnet.com/patrice/archive/2006/04/27/debuterwpf.aspx#Feedback</comments><slash:comments>18</slash:comments><wfw:commentRss>http://blogs.labo-dotnet.com/patrice/comments/commentRss/10572.aspx</wfw:commentRss><trackback:ping>http://blogs.labo-dotnet.com/patrice/services/trackbacks/10572.aspx</trackback:ping><description>&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG height=60 src="/patrice/images/wpf-vista.jpg" width=80 border=0&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT size=2&gt;Si vous souhaitez tester vous-m&amp;#234;me la couche pr&amp;#233;sentation de WinFX, et ainsi ex&amp;#233;cuter les quelques d&amp;#233;mos disponibles sur le web ou alors m&amp;#234;me &amp;#233;crire vous m&amp;#234;me quelques lignes de code XAML, voici une liste de liens qui devrait vous aider.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Afin de vous motiver avant passer &amp;#224; l'action quelques vid&amp;#233;os de d&amp;#233;mos d'applications utilisant WPF :&lt;BR&gt;&lt;A href="http://channel9.msdn.com/ShowPost.aspx?PostID=121495"&gt;La d&amp;#233;mo NorthFace&lt;/A&gt;&lt;BR&gt;&lt;A href="http://channel9.msdn.com/Showpost.aspx?postid=114690"&gt;WinFX Hearths (Jeu de cartes)&lt;/A&gt;&lt;BR&gt;&lt;A href="http://channel9.msdn.com/ShowPost.aspx?PostID=181869"&gt;La d&amp;#233;mo HealthCare&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Remarque importante avant de commencer &amp;#224; installer quelque chose : toutes les versions disponibles sont des versions provisoires en cours de d&amp;#233;veloppement destin&amp;#233;s &amp;#224; permettre aux d&amp;#233;veloppeurs de tester ces nouvelles technologies. Ainsi, les produits peuvent &amp;#234;tre bugg&amp;#233;s et il est d&amp;#233;conseill&amp;#233; de les installer sur une machine de travail. Il est donc recommand&amp;#233; d'utiliser une machine virtuelle gr&amp;#226;ce &amp;#224; VPC ou VMWare ou alors de cr&amp;#233;er une deuxi&amp;#232;me partition bootable afin de profiter de toute la puissance de votre machine et de votre carte graphique.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Pour installer tout le n&amp;#233;cessaire, il faut installer l'ensemble de ces composants dans le bon ordre si possible (l'installation de WinFX apr&amp;#232;s Visual Studio ne pose cependant aucun probl&amp;#232;me).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F51C4D96-9AEA-474F-86D3-172BFA3B828B&amp;displaylang=en"&gt;&lt;FONT size=2&gt;Microsoft Pre-Release Software WinFX Runtime Components - February Community Technology Preview (CTP)&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;  : Le framework WinFX indispensable &amp;#224; l'ex&amp;#233;cution des applications se basant sur ce framework.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/vstudio/express/default.aspx"&gt;&lt;FONT size=2&gt;Visual Studio Express&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; : Si vous n'avez pas Visual Studio 2005 (ou si vous souhaitez economiser de l'espace en &amp;#233;vitant d'installer le mastondonte :), vous pouvez utiliser les &amp;#233;ditions gratuites de Visual Studio : Visual C# Express ou Visual Basic.net Express.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9BE1FC7F-0542-47F1-88DD-61E3EF88C402&amp;displaylang=en"&gt;&lt;FONT size=2&gt;Microsoft&amp;#174; Windows&amp;#174; Software Development Kit (SDK) for the February 2006 Community Technology Preview (CTP) for Windows Vista and WinFX Runtime Components &lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;: Le SDK qui permet de cr&amp;#233;er des applications bas&amp;#233;es sur le framework WinFX et donc pouvant utiliser WPF. Contient des exemples tr&amp;#232;s interessants pour d&amp;#233;buter.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AD0CE56E-D7B6-44BC-910D-E91F3E370477&amp;displaylang=en"&gt;&lt;FONT size=2&gt;Microsoft Visual Studio Code Name &amp;#8220;Orcas&amp;#8221; Community Technology Preview - Development Tools for WinFX&amp;#174;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; : Les extensions de Visual Studio qui vous permettront de cr&amp;#233;er des projets WinFX et d'utiliser un designer de formulaires qui a le m&amp;#233;rite d'exister m&amp;#234;me s'il encore peu fonctionnel...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Si vous avez  des probl&amp;#232;mes d'installation :&lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/tims/archive/2006/03/13/550600.aspx"&gt;&lt;FONT size=2&gt;http://blogs.msdn.com/tims/archive/2006/03/13/550600.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/windowsvista/support/relnotes/winfxfebctp/default.aspx"&gt;&lt;FONT size=2&gt;http://msdn.microsoft.com/windowsvista/support/relnotes/winfxfebctp/default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Si vous souhaitez tester la gamme expression qui propose notamment Graphic Designer ainsi que Interactive Designer destin&amp;#233;s respectivement aux graphistes et aux designers. :&lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://www.microsoft.com/products/expression/en/graphic_designer/gd_free_trial.aspx"&gt;&lt;FONT size=2&gt;Graphic Designer&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;A href="http://www.microsoft.com/products/expression/en/graphic_designer/gd_free_trial.aspx"&gt;&lt;FONT size=2&gt;Interactive Designer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt; et des &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/products/expression/en/demos.mspx"&gt;&lt;FONT size=2&gt;vid&amp;#233;os d'entrainement afin de d&amp;#233;couvrir l'outil&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Vous pouvez &amp;#233;galement essayer&lt;/FONT&gt;&lt;A href="http://www.erain.com/products/ZAM3D/DefaultPDC.asp"&gt;&lt;FONT size=2&gt; Zam3D de Electronic Rain &lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=2&gt;qui va plus loin que Interactive Designer pour ce qui a attrait &amp;#224; la 3D. &lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://blogs.labo-dotnet.com/patrice/aggbug/10572.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Patrice Lamarche</dc:creator><title>[WPF] S'en sortir dans la jungle des CTPs</title><link>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10533.aspx</link><pubDate>Thu, 09 Mar 2006 16:26:00 GMT</pubDate><guid>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10533.aspx</guid><wfw:comment>http://blogs.labo-dotnet.com/patrice/comments/10533.aspx</wfw:comment><comments>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10533.aspx#Feedback</comments><slash:comments>17</slash:comments><wfw:commentRss>http://blogs.labo-dotnet.com/patrice/comments/commentRss/10533.aspx</wfw:commentRss><trackback:ping>http://blogs.labo-dotnet.com/patrice/services/trackbacks/10533.aspx</trackback:ping><description>&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG height=60 src="/patrice/images/wpf-vista.jpg" width=80 border=0&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT size=2&gt;Beaucoup de personnes se posent des questions sur les diff&amp;#233;rences qu'il y a entre les diff&amp;#233;rentes CTPs livr&amp;#233;es par Microsoft.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Faisons donc un rapide &amp;#233;tat des lieux pour WPF :&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;La CTP de D&amp;#233;cembre corrige des bugs pr&amp;#233;sents dans la CTP de Novembre&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;La CTP de Janvier est exactement identique &amp;#224; la CTP de D&amp;#233;cembre (les changements apport&amp;#233;s par la CTP de Janvier de WinFX se situe au niveau des autres briques telles que WCF, WF, etc.)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size=2&gt;La CTP de F&amp;#233;vrier apporte quelques changements par rapport &amp;#224; la CTP de Janvier surtout au niveau des namespaces. A noter que cette CTP est une pseudo feature-complete et qu'aucun changement majeur ne devrait avoir lieu d'ici la sortie de la RTM&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt; &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://blogs.labo-dotnet.com/patrice/aggbug/10533.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Patrice Lamarche</dc:creator><title>[WPF] Session OpenDays</title><link>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10531.aspx</link><pubDate>Thu, 09 Mar 2006 12:50:00 GMT</pubDate><guid>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10531.aspx</guid><wfw:comment>http://blogs.labo-dotnet.com/patrice/comments/10531.aspx</wfw:comment><comments>http://blogs.labo-dotnet.com/patrice/archive/2006/03/09/10531.aspx#Feedback</comments><slash:comments>22</slash:comments><wfw:commentRss>http://blogs.labo-dotnet.com/patrice/comments/commentRss/10531.aspx</wfw:commentRss><trackback:ping>http://blogs.labo-dotnet.com/patrice/services/trackbacks/10531.aspx</trackback:ping><description>&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG height=60 src="/patrice/images/wpf-vista.jpg" width=80 border=0&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT size=2&gt;Je viens d'uploader les slides de la pr&amp;#233;sentation que j'ai faite avec &lt;A href="http://msmvps.com/blogs/odewit/default.aspx"&gt;Olivier Dewit &lt;/A&gt;(MVP C#) sur WPF.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Vous pouvez les retrouver&amp;nbsp; sur &lt;/FONT&gt;&lt;A href="http://blogs.labo-dotnet.com/patrice/articles/opendays2006wpf.aspx"&gt;&lt;FONT size=2&gt;http://blogs.labo-dotnet.com/patrice/articles/opendays2006wpf.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://blogs.labo-dotnet.com/patrice/aggbug/10531.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Patrice Lamarche</dc:creator><title>[Avalon] Acrylic exporte au format XAML</title><link>http://blogs.labo-dotnet.com/patrice/archive/2005/08/17/8835.aspx</link><pubDate>Wed, 17 Aug 2005 09:06:00 GMT</pubDate><guid>http://blogs.labo-dotnet.com/patrice/archive/2005/08/17/8835.aspx</guid><wfw:comment>http://blogs.labo-dotnet.com/patrice/comments/8835.aspx</wfw:comment><comments>http://blogs.labo-dotnet.com/patrice/archive/2005/08/17/8835.aspx#Feedback</comments><slash:comments>63</slash:comments><wfw:commentRss>http://blogs.labo-dotnet.com/patrice/comments/commentRss/8835.aspx</wfw:commentRss><trackback:ping>http://blogs.labo-dotnet.com/patrice/services/trackbacks/8835.aspx</trackback:ping><description>&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG src="http://www.microsoft.com/products/expression/images/5-Workflow.png"&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;FONT size=2&gt;M&amp;#234;me si la nouvelle faisait peu de bruit (&lt;A href="http://www.dotnetrocks.com/default.aspx?showID=119" target=_blank&gt;elle &amp;#233;tait discr&amp;#232;te&lt;/A&gt;), elle est maintenant bien officielle, Acrylic, outil d'&amp;#233;dition vectorielle de Microsoft actuellement en CTP exporte &amp;#224; pr&amp;#233;sent au format XAML et devient ainsi un designer graphique pour Windows Presentation Foundation.&lt;BR&gt;&lt;BR&gt;Plus d'infos :&lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://www.microsoft.com/products/expression/features.aspx#workflow" target=_blank&gt;&lt;FONT size=2&gt;Acrylic&lt;/FONT&gt;&amp;nbsp;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://blogs.labo-dotnet.com/patrice/aggbug/8835.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Patrice Lamarche</dc:creator><title>[Avalon] Extracteur de styles</title><link>http://blogs.labo-dotnet.com/patrice/archive/2005/08/10/8830.aspx</link><pubDate>Wed, 10 Aug 2005 15:56:00 GMT</pubDate><guid>http://blogs.labo-dotnet.com/patrice/archive/2005/08/10/8830.aspx</guid><wfw:comment>http://blogs.labo-dotnet.com/patrice/comments/8830.aspx</wfw:comment><comments>http://blogs.labo-dotnet.com/patrice/archive/2005/08/10/8830.aspx#Feedback</comments><slash:comments>15</slash:comments><wfw:commentRss>http://blogs.labo-dotnet.com/patrice/comments/commentRss/8830.aspx</wfw:commentRss><trackback:ping>http://blogs.labo-dotnet.com/patrice/services/trackbacks/8830.aspx</trackback:ping><description>&lt;P align=justify&gt;La d&amp;#233;finition de styles avec Avalon est bien pens&amp;#233;e et tr&amp;#232;s puissante. Microsoft a l'habitude de dire que les styles propos&amp;#233;es avec Avalon sont un peu analogues au CSS en plus puissant afin de rassurer les d&amp;#233;veloppeurs, mais la r&amp;#233;alit&amp;#233; est toute autre.&lt;/P&gt;
&lt;P&gt;Voyons rapidement quelques avantages de l'impl&amp;#233;mentation de styles gr&amp;#226;ce &amp;#224; Avalon par rapport aux styles CSS :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV align=justify&gt;Les noms sont directement mapp&amp;#233;s, c'est&amp;nbsp;&amp;#224; dire que si vous souhaitez d&amp;#233;finir la propri&amp;#233;t&amp;#233; Background via un style vous le ferez en d&amp;#233;finissant la propri&amp;#233;t&amp;#233; Background. Cela peut paraitre b&amp;#234;te, mais ce n'est pas le cas avec les styles CSS. Par exemple pour d&amp;#233;finir la police d'un texte en html on fait un &amp;lt;FONT face=Arial&amp;gt; alors qu'en css on d&amp;#233;finit la propri&amp;#233;t&amp;#233; font-family.&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV align=justify&gt;Il est possible de d&amp;#233;finir des styles qui seront appliqu&amp;#233;s lors du changement de la valeur d'une propri&amp;#233;t&amp;#233;. Ainsi dans un contr&amp;#244;le &amp;#224; onglets par exemple, on va pouvoir d&amp;#233;finir le style de l'onglet selectionn&amp;#233; de mani&amp;#232;re tr&amp;#232;s simple. Exemple avec XAML :&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;IMG height=251 src="/patrice/images/xamlstyle.png" width=727 border=0&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV align=justify&gt;En plus de pouvoir d&amp;#233;finir un style "de mani&amp;#232;re classique" c'est &amp;#224; dire en personnalisant l'affichage d'un contr&amp;#244;le, on peut &amp;#233;galement red&amp;#233;finir directement le template de pr&amp;#233;sentation utilis&amp;#233; par le contr&amp;#244;le. Ainsi on peut garder le comportement du contr&amp;#244;le (un controle &amp;#224; onglets par exemple) tout en red&amp;#233;finissant totalement sa pr&amp;#233;sentation. On peut ainsi de mani&amp;#232;re puissante tout ce que l'on souhaite au niveau de la pr&amp;#233;sentation.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P align=justify&gt;Ce dernier point est tr&amp;#232;s sympathique mais on souhaite g&amp;#233;n&amp;#233;ralement se baser sur le template d'affichage par d&amp;#233;faut pour cr&amp;#233;er son propre template. Et malheureusement, il n'existe pas de moyen simple de r&amp;#233;cup&amp;#233;rer les styles par d&amp;#233;faut de tous les contr&amp;#244;les propos&amp;#233;s par Avalon.&lt;/P&gt;
&lt;P align=justify&gt;J'ai donc &lt;A href="http://blogs.labo-dotnet.com/patrice/Avalon%20Style%20Extractor.zip"&gt;bricol&amp;#233; un petit outil &lt;/A&gt;(&amp;#224; l'aide de Jb Evain et de Simon) permettant d'avoir les styles par d&amp;#233;faut de chaque contr&amp;#244;le en XAML :&lt;/P&gt;
&lt;P align=center&gt;&lt;A href="http://blogs.labo-dotnet.com/patrice/images/xamlstylemaxi.gif" target=_blank&gt;&lt;IMG height=258 src="/patrice/images/xamlstylemini.gif" width=341 border=0&gt;&lt;/A&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src ="http://blogs.labo-dotnet.com/patrice/aggbug/8830.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>