<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/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Munkii Magic</title>
        <link>http://www.munkiisoft.com/blog/Default.aspx</link>
        <description>Too much monkey business</description>
        <language>en-GB</language>
        <copyright>Pat</copyright>
        <managingEditor>pat@munkiisoft.com</managingEditor>
        <generator>Subtext Version 2.0.0.43</generator>
        <image>
            <title>Munkii Magic</title>
            <url>http://www.munkiisoft.com/blog/images/RSS2Image.gif</url>
            <link>http://www.munkiisoft.com/blog/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Windows Remote Desktop and Multiple Monitors</title>
            <link>http://www.munkiisoft.com/blog/archive/2010/03/09/windows-remote-desktop-and-multiple-monitors.aspx</link>
            <description>&lt;p&gt;Like most software developers, especially those involved in UI work, I am used to working with a multi monitor setup. I have two Widescreen Dells in the Munkiisoft office but recently I needed to remote onto a client's development workstation. I was dreading the experience, until I found that &lt;a href="http://windows.microsoft.com/en-US/windows-vista/Remote-Desktop-Connection-frequently-asked-questions"&gt;Remote Desktop&lt;/a&gt; can be run to span multiple monitors.&lt;/p&gt;  &lt;p&gt;This &lt;a href="http://blogs.msdn.com/kirillosenkov/archive/2009/04/10/remote-desktop-span-across-multiple-monitors.aspx"&gt;post&lt;/a&gt; describes how to run Remote Desktop so that it will span muiltiple monitos, essentially it is the “/span” command line switch that you need.&lt;/p&gt;  &lt;p&gt;Great I thought but the experience was not what I hoped for because everytime I maximised a window it stretched across both monitors, boo! This is probably more annoying than just having it on a single monitor. Not wanting to give up, having come so close, I started &lt;a href="http://www.google.co.uk/"&gt;Googling&lt;/a&gt;\&lt;a href="http://www.bing.com"&gt;Binging&lt;/a&gt;; I found &lt;a href="http://www.splitview.com/"&gt;SplitView&lt;/a&gt;. SplitView runs on the machine that you are remoting to and gives you proper multi-monitor support. Awesome, exactly what I was after.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/30.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2010/03/09/windows-remote-desktop-and-multiple-monitors.aspx</guid>
            <pubDate>Tue, 09 Mar 2010 22:10:01 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/30.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2010/03/09/windows-remote-desktop-and-multiple-monitors.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/30.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Netgear DG834G V5 and Xbox 360</title>
            <link>http://www.munkiisoft.com/blog/archive/2010/02/18/netgear-dg834g-v5-and-xbox-360.aspx</link>
            <description>&lt;p&gt;As of 18/02/2010 this router does not work out-of-the-box with an Xbox 360,no matter what firmware version you have &lt;strong&gt;but there is a solution&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;There are a couple of “me too” threads on forum.netgear.com that make for some depressing reading. However if you don’t want to wade through everyone saying “It doesn’t work for me either” jump &lt;a href="http://forum1.netgear.com/showpost.php?p=234260&amp;amp;postcount=35"&gt;straight to the solution&lt;/a&gt;. Many thanks to runDMB.&lt;/p&gt;  &lt;p&gt;Basically the v5 router has issues automatically dishing out IP addresses to certain devices, it works for my work laptop, desktop, wireless music streamer and phone. The fix involves reserving an IP address for the MAC address of the 360 &lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/29.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2010/02/18/netgear-dg834g-v5-and-xbox-360.aspx</guid>
            <pubDate>Thu, 18 Feb 2010 16:43:23 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/29.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2010/02/18/netgear-dg834g-v5-and-xbox-360.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/29.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Interesting Event (or hCalendar)</title>
            <link>http://www.munkiisoft.com/blog/archive/2010/01/24/interesting-event-or-hcalendar.aspx</link>
            <description>&lt;p&gt;An intertesting &lt;a href="http://microformats.org/wiki/hcalendar"&gt;event&lt;/a&gt; happened to me today. For the first time in over a year I read about something and though “cool, that is worth sharing”. The semantic marking up of Event data and what &lt;a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=164506"&gt;google is going to be doing with it&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I am currently working for a large “organiser of trade and consumer events” where we are in the process of building a CMS platform, on top of EPiServer, to enable the different events to have a compelling presence on the Internet. We often have to display Event data and from time to time I have looked at using Microformats but mainly ‘cos I thought that was the right thing to do not because i could see any really compelling use of them, until now.&lt;/p&gt;  &lt;p&gt;Last year Google introduced “&lt;a href="http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html"&gt;Rich Snippets&lt;/a&gt;”. Using &lt;a href="http://microformats.org/"&gt;microformats&lt;/a&gt; to signal particular datatypes Google could pull through that data and display it alongside the Site Title in the Google results&lt;/p&gt;  &lt;p&gt;&lt;img src="http://4.bp.blogspot.com/_o5Na_9269nA/SgmVpW6X6zI/AAAAAAAACpk/gEuArlK2M04/s1600/09-5-10+drooling+dog+snippet+metadata+circled.png" /&gt; &lt;/p&gt;  &lt;p&gt;This image shows a search result displaying a &lt;a href="http://www.google.com/support/webmasters/bin/answer.py?answer=146645"&gt;Review&lt;/a&gt;, Google also added support for &lt;a href="http://www.google.com/support/webmasters/bin/answer.py?answer=146646"&gt;People&lt;/a&gt; and later &lt;a href="http://googlewebmastercentral.blogspot.com/2009/09/supporting-facebook-share-and-rdfa-for.html"&gt;Video&lt;/a&gt;. On &lt;a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=164506"&gt;Friday Google posted&lt;/a&gt; on the &lt;a href="http://googlewebmastercentral.blogspot.com"&gt;Webmaster Central Blog&lt;/a&gt; (an excellent read) that they are now supporting Event data. Whilst I am going to have to wait a while to get that on our official Product Backlog and I am going to mark &lt;em&gt;&lt;a href="http://www.munkiisoft.com/blog/archive/2010/01/24/interesting-event-or-hcalendar.aspx"&gt;this&lt;/a&gt;&lt;/em&gt; auspicious event (me posting a blog for the first time in over a year) with some Event mark-up.&lt;/p&gt;  &lt;div class="vevent"&gt;&lt;a class="url summary" href="http://www.munkiisoft.com/blog"&gt;Blog Post&lt;/a&gt; &lt;span class="description"&gt;After a year in the wilderness (to be swiftly followed by another year) Pat Long blogs&lt;/span&gt; &lt;/div&gt;  &lt;div class="vevent"&gt;When: &lt;span class="dtstart"&gt;Jan 24, 10:40PM&lt;span class="value-title" title="2009-10-24T22:40-08:00"&gt; &lt;/span&gt;-&lt;span class="dtend"&gt; 11:01PM&lt;span class="value-title" title="2009-10-24T23:01-08:00"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div class="vevent"&gt;&lt;span class="dtstart"&gt;&lt;span class="dtend"&gt;&lt;span class="value-title" title="2009-10-24T23:01-08:00" /&gt;Where: &lt;span class="fn org"&gt;Munkiisoft HQ&lt;/span&gt;, &lt;span class="adr"&gt;&lt;span class="street-address"&gt;322 Kingston Road&lt;/span&gt;, &lt;span class="locality"&gt;New Malden&lt;/span&gt;, &lt;span class="region"&gt;Surrey&lt;/span&gt; &lt;/span&gt;&lt;span class="geo"&gt;&lt;span class="latitude"&gt;&lt;span class="value-title" title="37.774929" /&gt;&lt;span class="longitude"&gt;&lt;span class="value-title" title="-122.419416" /&gt;&lt;/span&gt;&lt;/span&gt;          &lt;div class="vevent"&gt;Category: &lt;span class="category"&gt;Blog post&lt;/span&gt; &lt;/div&gt;          &lt;p /&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/28.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2010/01/24/interesting-event-or-hcalendar.aspx</guid>
            <pubDate>Sun, 24 Jan 2010 23:11:15 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/28.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2010/01/24/interesting-event-or-hcalendar.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/28.aspx</wfw:commentRss>
        </item>
        <item>
            <title>IE6 and overzealous button post back</title>
            <link>http://www.munkiisoft.com/blog/archive/2008/01/10/ie6-and-overzealous-button-post-back.aspx</link>
            <description>&lt;p&gt;So we all know of IE6 and the problem it can have have when you have multiple submit buttons on a form and you press enter in an edit control. IE6 gets confused over what button should be sent to the server as the submit button. This annoyance is covered &lt;a href="http://muffinresearch.co.uk/archives/2005/12/08/fun-with-multiple-submit-buttons/"&gt;here&lt;/a&gt; and &lt;a href="http://www.allasp.net/enterkey.aspx"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The issue I had recently was that even though I was directly clicking on a button (the search button on this &lt;a href="http://www.ditto.net/Lists/FunniestMoviesOfAllTime/Create"&gt;page&lt;/a&gt;) ASP.NET was firing the code for the final button on the page (which in this instance was a "Finish" button). Once I realised that this is what was happening i took a  look at the form that was being posted to the server. In the form variables collection I found both button elements! This is is an IE6 only issue and darn annoying. &lt;/p&gt;
&lt;p&gt;The fix was to disable the unneeded buttons, which stops them being included as part of the form post. More specifically I hook the click event on all the input and button elements, of type "submit", on the page, when it first loads. Then when the click happens I disable all the button elements and reenable them using setTimeout after 2 seconds. &lt;/p&gt;
&lt;p&gt;The only exception to this disabling is if it was a button that caused the click. That button is obviously not disabled.&lt;/p&gt;
&lt;p&gt;You can see the  solution on this page here &lt;a title="http://www.ditto.net/Topics/MoviesMakeMeLaugh/fill" href="http://www.ditto.net/Lists/FunniestMoviesOfAllTime/Create"&gt;http://www.ditto.net/Topics/MoviesMakeMeLaugh/fill&lt;/a&gt; in the function hookAllButtonsForDisabling().&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/27.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2008/01/10/ie6-and-overzealous-button-post-back.aspx</guid>
            <pubDate>Thu, 10 Jan 2008 00:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/27.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2008/01/10/ie6-and-overzealous-button-post-back.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/27.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WPF Training Course - Part6 - Data and ItemsControl</title>
            <category>WPF</category>
            <link>http://www.munkiisoft.com/blog/archive/2007/08/23/wpf-training-course-part6-data-and-itemscontrol.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is part 6 of the training course originally described &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/18/wpf-training-course-free.aspx"&gt;here&lt;/a&gt; with parts 2,3, 4 and 5 available &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/19/wpf-training-course-part2.aspx"&gt;here&lt;/a&gt;, &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/27/wpf-training-course-part3-controls.aspx"&gt;here&lt;/a&gt;, &lt;a href="http://www.munkiisoft.com/blog/archive/2007/07/09/wpf-training-course-free-part4-resourcedictionaries-styles-and.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-training-course-part5-layout.aspx"&gt;here&lt;/a&gt; respectively. So far we have covered WPF fundamentals, XAML, brushes, shapes, controls, styling, resources and layout. &lt;/p&gt;
&lt;h3&gt;Part6&lt;/h3&gt;
&lt;ol&gt;
    &lt;li&gt;Data
    &lt;ol&gt;
        &lt;li&gt;Binding class
        &lt;ol&gt;
            &lt;li&gt;Converter property &lt;/li&gt;
            &lt;li&gt;ElementName property &lt;/li&gt;
            &lt;li&gt;Mode property &lt;/li&gt;
            &lt;li&gt;Path property &lt;/li&gt;
            &lt;li&gt;RelativeSource property &lt;/li&gt;
            &lt;li&gt;XPath property &lt;/li&gt;
        &lt;/ol&gt;
        &lt;/li&gt;
        &lt;li&gt;LAB12 - Databinding elements to each other &lt;/li&gt;
        &lt;li&gt;DataContext &lt;/li&gt;
        &lt;li&gt;DataProviders &lt;/li&gt;
        &lt;li&gt;LAB13 - Binding to an ObjectDataProvider &lt;/li&gt;
        &lt;li&gt;DataTemplates &lt;/li&gt;
        &lt;li&gt;DataTemplateSelector &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;ItemsControl
    &lt;ol&gt;
        &lt;li&gt;Introduction &lt;/li&gt;
        &lt;li&gt;ItemsSource property &lt;/li&gt;
        &lt;li&gt;ItemTemplate property &lt;/li&gt;
        &lt;li&gt;ItemsPanel property &lt;/li&gt;
        &lt;li&gt;ItemContainerStyle &lt;/li&gt;
        &lt;li&gt;LAB14 - Using ItemControl with ItemsSource, ItemsPanelTemplate, ItemsPanel, ItemContainerStyle and DataTriggers &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.charteris.com/files/folders/trainingcourse/entry425.aspx"&gt;Download Part6.zip&lt;/a&gt; which includes a slide deck and the 3 labs. Code to get you started with the labs is included.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/26.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/08/23/wpf-training-course-part6-data-and-itemscontrol.aspx</guid>
            <pubDate>Wed, 22 Aug 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/26.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/08/23/wpf-training-course-part6-data-and-itemscontrol.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/26.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Microsoft Surface - Alternative View (Parody)</title>
            <link>http://www.munkiisoft.com/blog/archive/2007/07/25/microsoft-surface-alternative-view-parody.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Seeing as I blogged the &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/06/microsoft-surface-behind-the-scenes-video.aspx"&gt;Behind The Scenes look at Microsoft Surface&lt;/a&gt; I thought it only fair to give equal attention to this very funny (IMHO) tongue-in-cheek look at Microsoft Surface.&lt;/p&gt;
&lt;p&gt;&lt;a title="Links to Microsoft Surface Parody on YouTube" href="http://www.youtube.com/watch?v=CZrr7AZ9nCY"&gt;&lt;img alt="" border="0" src="http://youtube.com/img/pic_youtubelogo_123x63.gif" /&gt; Microsoft Surface Parody on YouTube &lt;/a&gt;&lt;/p&gt;
&lt;span style="FONT-WEIGHT: bold" /&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/25.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/07/25/microsoft-surface-alternative-view-parody.aspx</guid>
            <pubDate>Tue, 24 Jul 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/25.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/07/25/microsoft-surface-alternative-view-parody.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/25.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WPF Elements and stretching to the Layout panel</title>
            <category>WPF</category>
            <link>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-elements-and-stretching-to-the-layout-panel.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Debugging layout issues is something I had to do fairly often particularly with some of the complex layouts we were trying in the past. Trying to work out why "such and such" FrameworkElement would not stretch to the size of "whatever" layout panel I was using. &lt;/p&gt;
&lt;p&gt;Before we get to the detail of stretching there is one simple layout, debugging technique that I think is worth sharing; It is that setting the backgrounds of all the various panels that you are using, whilst debugging, makes life much easier. Take this relatively simple layout problem&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.charteris.com/blogs/patl/WindowsLiveWriter/WPFElementsandstretchingtotheLayoutpanel_835/LayoutDebugging6.png"&gt;&lt;img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="235" alt="" width="407" border="0" src="http://blogs.charteris.com/blogs/patl-closed/WindowsLiveWriter/WPFElementsandstretchingtotheLayoutpanel_835/LayoutDebugging_thumb2.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Imagine if we are trying to find work out why the buttons "2" are not aligned to the bottom of the screen even though they have VerticalAlignment set to Bottom. Well colouring the different layout panels will as you can see make it easier to see what is constraining what.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.charteris.com/blogs/patl/WindowsLiveWriter/WPFElementsandstretchingtotheLayoutpanel_835/LayoutDebugging_ColoredBackground2.png"&gt;&lt;img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="237" alt="" width="414" border="0" src="http://blogs.charteris.com/blogs/patl-closed/WindowsLiveWriter/WPFElementsandstretchingtotheLayoutpanel_835/LayoutDebugging_ColoredBackground_th.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;From this you can see that is more than likely the PaleGoldenRod coloured panel that is causing the panel containing the "2" buttons to layout as they are.&lt;/p&gt;
&lt;h3&gt;Stretching - Bible&lt;/h3&gt;
&lt;p&gt;I know it is a little arrogant to suggest I could write a bible on anything but this was the most often referenced pieces of WPF information I had, on a previous project. I cover it in the upcoming &lt;a href="http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-training-course-part5-layout.aspx"&gt;Part5 of my WPF Training Course&lt;/a&gt;, but I thought it was useful enough to pull out here.&lt;/p&gt;
&lt;p&gt;FrameworkElements have a default of Stretch for their HorizontalAlignment and VerticalAlignment but whether or not this stretching is performed all depends on the containing layout panel and how that Panel is being used. It is this information that I refer to as the "Stretching - Bible"&lt;/p&gt;
&lt;table&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;th class=""&gt;Panel&lt;/th&gt;
            &lt;th class=""&gt;X Dimension&lt;/th&gt;
            &lt;th class=""&gt;Y Dimension&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;Canvas &lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;Dock &lt;/td&gt;
            &lt;td class=""&gt;Yes&lt;/td&gt;
            &lt;td class=""&gt;Yes&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;StackPanel (Vertical &lt;/td&gt;
            &lt;td class=""&gt;Yes&lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;StackPanel (Horizontal)&lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
            &lt;td class=""&gt;Yes &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;Grid&lt;/td&gt;
            &lt;td class=""&gt;Yes*&lt;/td&gt;
            &lt;td class=""&gt;Yes*&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td class=""&gt;WrapPanel &lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
            &lt;td class=""&gt;No&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;* Except when using "Auto" rows and columns&lt;/p&gt;
&lt;p&gt;Yes in the above table means "Children are stretched to available size"&lt;/p&gt;
&lt;p&gt;No in the above table means "Children are their desired size"&lt;/p&gt;
&lt;p&gt;I find myself referring back to this table whenever I am wondering why elements are not stretching even though I have set their alignment(s) to Stretch. Hope it helps someone else too.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/23.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-elements-and-stretching-to-the-layout-panel.aspx</guid>
            <pubDate>Fri, 20 Jul 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/23.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-elements-and-stretching-to-the-layout-panel.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/23.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WPF Training Course - Part5 - Layout</title>
            <category>WPF</category>
            <link>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-training-course-part5-layout.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is part 5 of the training course originally described &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/18/wpf-training-course-free.aspx"&gt;here&lt;/a&gt; with parts 2,3 and 4 available &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/19/wpf-training-course-part2.aspx"&gt;here&lt;/a&gt;, &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/27/wpf-training-course-part3-controls.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://www.munkiisoft.com/blog/archive/2007/07/09/wpf-training-course-free-part4-resourcedictionaries-styles-and.aspx"&gt;here&lt;/a&gt; respectively. So far we have covered WPF fundamentals, XAML, brushes, shapes, controls, styling and resources. &lt;/p&gt;
&lt;p&gt;Again if anyone wants to contact me for clarifications or to talk over part of the course just use a Comment or the Contact link at the top of the page. Good luck! &lt;/p&gt;
&lt;p&gt;The details of part 5 are below, the labs and any associated code are in the download package. LAB 11 is fairly important to get right and to understand why it is right. You may get something that looks close but it could be light years away from the correct solution, therefore I am going to include a completed solution as well. You don't have to use it but it is worth referring to when you have finished. Before starting Part5 I strongly suggest looking at parts 1 - 4 as this part really does draw on all the previous ones. If you think you know it all already at least review the contents of each part that I put in the blog post. If you are happy that you know the pre-reqs then great let's go! &lt;/p&gt;
&lt;h3&gt;Part5&lt;/h3&gt;
&lt;ol&gt;
    &lt;li&gt;Margins and Padding &lt;/li&gt;
    &lt;li&gt;Alignment &lt;/li&gt;
    &lt;li&gt;Layout logic overview &lt;/li&gt;
    &lt;li&gt;Height and Width &lt;/li&gt;
    &lt;li&gt;Transforms
    &lt;ol&gt;
        &lt;li&gt;RotateTransform &lt;/li&gt;
        &lt;li&gt;ScaleTransform &lt;/li&gt;
        &lt;li&gt;SkewTransform &lt;/li&gt;
        &lt;li&gt;TranslateTransform &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;RenderTransform vs LayoutTransform &lt;/li&gt;
    &lt;li&gt;LAB10 - Adding Interactions with Triggers &lt;/li&gt;
    &lt;li&gt;Dependency Properties Explained &lt;/li&gt;
    &lt;li&gt;Attached Properties Explained &lt;/li&gt;
    &lt;li&gt;Layout Panels
    &lt;ol&gt;
        &lt;li&gt;StackPanel &lt;/li&gt;
        &lt;li&gt;Grid &lt;/li&gt;
        &lt;li&gt;UniformGrid &lt;/li&gt;
        &lt;li&gt;DockPanel &lt;/li&gt;
        &lt;li&gt;Canvas &lt;/li&gt;
        &lt;li&gt;WrapPanel &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;Stretching - Bible &lt;/li&gt;
    &lt;li&gt;Z-Order &lt;/li&gt;
    &lt;li&gt;LAB11 - Run dialog (LAB 11 is fairly important to get right and to understand why it is right. You may get something that looks close but it could be light years away from the correct solution, therefore I am going to include a completed solution in the download as well.) &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.charteris.com/files/folders/trainingcourse/entry397.aspx"&gt;Download Part5.zip&lt;/a&gt; which includes a slide deck and the 2 labs. Code to get you started with the labs is included.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/24.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-training-course-part5-layout.aspx</guid>
            <pubDate>Fri, 20 Jul 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/24.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/07/21/wpf-training-course-part5-layout.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/24.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Microsoft Health CUI released today</title>
            <category>AJAX</category>
            <link>http://www.munkiisoft.com/blog/archive/2007/07/13/microsoft-health-cui-released-today.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the last year or so I have been working on the Microsoft Health Common User Interface (CUI) project at Microsoft and today it was released &lt;a href="http://www.mscui.com/"&gt;here&lt;/a&gt; (&lt;a href="http://www.mscui.com/"&gt;www.mscui.com&lt;/a&gt;) and on &lt;a href="http://www.codeplex.com/mscui"&gt;here&lt;/a&gt; on CodePlex (&lt;a title="http://www.codeplex.com/mscui" href="http://www.codeplex.com/mscui"&gt;http://www.codeplex.com/mscui&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;The work released today comes from two areas of the ongoing work that Microsoft is doing in this area. First up is &lt;a href="http://www.mscui.com/DesignGuide/DesignGuide.aspx"&gt;Design Guidance,&lt;/a&gt; this is a collection of best practice user interface guidance for clinical applications. Apologies for simply quoting the website but people smarter than me came up with the words so I might as well quote them&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Design Guidance has been produced through a rigorous user-centred design process that incorporates primary and secondary research, usability testing, consultation with software providers and integrated hazard assessments. Patient Safety Assessments (PSAs) are continually performed to ensure the Design Guidance meets safety concerns.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The guidance is targeted at both existing clinical applications and those that are being designed and architected right now. The second part of this release is the implementation of much of that guidance in the form of control libraries for both WinForms 2.0 and ASP.NET. The website contains &lt;a href="http://www.mscui.com/ControlsAndSamples.aspx"&gt;explanation and samples&lt;/a&gt; for each of the Web controls with the &lt;a href="http://www.codeplex.com/mscui"&gt;Codeplex project&lt;/a&gt; hosting a download of both the Winforms and the ASP.NET Control library. &lt;/p&gt;
&lt;p&gt;The ASP.NET controls use much of ASP.NET Ajax and the extensions to that technology provided by the &lt;a href="http://ajax.asp.net/ajaxtoolkit/"&gt;AjaxControlToolkit&lt;/a&gt;. There are some really handy controls on the site that I am sure you will find useful even if you are not working on clinical applications, take for instance the &lt;a href="http://www.mscui.com/Components/DateInputBox.aspx"&gt;DateInputBox&lt;/a&gt; control.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/22.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/07/13/microsoft-health-cui-released-today.aspx</guid>
            <pubDate>Thu, 12 Jul 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/22.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/07/13/microsoft-health-cui-released-today.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/22.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WPF Training Course (Free) - Part4 - ResourceDictionaries, Styles and Triggers</title>
            <category>WPF</category>
            <link>http://www.munkiisoft.com/blog/archive/2007/07/09/wpf-training-course-free-part4-resourcedictionaries-styles-and.aspx</link>
            <description>&lt;p&gt;Originally published on my &lt;a href="http://blogs.charteris.com/blogs"&gt;old Charteris blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is part 4 of the training course originally described &lt;a href="http://blogs.charteris.com/blogs/patl/archive/2007/06/18/wpf-training-course-free.aspx"&gt;here&lt;/a&gt; with parts 2 &amp;amp; 3 available &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/19/wpf-training-course-part2.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://www.munkiisoft.com/blog/archive/2007/06/27/wpf-training-course-part3-controls.aspx"&gt;here&lt;/a&gt; respectively. So far we have covered WPF fundamentals, XAML, brushes, shapes, controls and control templating. &lt;/p&gt;
&lt;p&gt;Again if anyone wants to contact me for clarifications or to talk over part of the course just use a Comment or the Contact link at the top of the page. Good luck! &lt;/p&gt;
&lt;p&gt;The details of part 4 are below, the labs and any associated code are in the download package &lt;/p&gt;
&lt;h2&gt;Part4&lt;/h2&gt;
&lt;ol&gt;
    &lt;li&gt;ResourceDictionaries
    &lt;ol&gt;
        &lt;li&gt;Reusing XAML &lt;/li&gt;
        &lt;li&gt;Why use a ResourceDictionary? &lt;/li&gt;
        &lt;li&gt;Resource discovery &lt;/li&gt;
        &lt;li&gt;File-based resource dictionaries &lt;/li&gt;
        &lt;li&gt;LAB8 - Resources - Referencing System colours, Dynamic and Static &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;Styles
    &lt;ol&gt;
        &lt;li&gt;Referencing Styles &lt;/li&gt;
        &lt;li&gt;TargetType &lt;/li&gt;
        &lt;li&gt;BasedOn &lt;/li&gt;
        &lt;li&gt;LAB9 - Debugging Styling Issues &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
    &lt;li&gt;Triggers
    &lt;ol&gt;
        &lt;li&gt;EventTrigger &lt;/li&gt;
        &lt;li&gt;Property-based Trigger &lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.charteris.com/files/folders/trainingcourse/entry369.aspx"&gt;Download Part4.zip&lt;/a&gt; which includes a slide deck and the 2 labs. Code to get you started with the labs is included.&lt;/p&gt;&lt;img src="http://www.munkiisoft.com/blog/aggbug/21.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Pat</dc:creator>
            <guid>http://www.munkiisoft.com/blog/archive/2007/07/09/wpf-training-course-free-part4-resourcedictionaries-styles-and.aspx</guid>
            <pubDate>Sun, 08 Jul 2007 23:00:00 GMT</pubDate>
            <wfw:comment>http://www.munkiisoft.com/blog/comments/21.aspx</wfw:comment>
            <comments>http://www.munkiisoft.com/blog/archive/2007/07/09/wpf-training-course-free-part4-resourcedictionaries-styles-and.aspx#feedback</comments>
            <wfw:commentRss>http://www.munkiisoft.com/blog/comments/commentRss/21.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>