<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WPF &amp;amp; PowerShell -- Part 4 (XAML &amp;amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx</link><description>We're not halfway through our week of WPF, and I'm pretty sure at this point that you have an all right grounding in the basics of WPF &amp;amp; PowerShell, but so far, the scripts haven't really been very much like most PowerShell scripts, and the UIs have</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#8551073</link><pubDate>Sun, 25 May 2008 18:25:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8551073</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;Terrific series.&lt;/p&gt;
&lt;p&gt;There is a 'close brace' missing in the Show-Control.&lt;/p&gt;
&lt;p&gt;The following replacement works.&lt;/p&gt;
&lt;p&gt;if ($evt.Key -like &amp;quot;Window.*&amp;quot;) { &lt;/p&gt;
&lt;p&gt; &amp;nbsp;$target = $window &lt;/p&gt;
&lt;p&gt; &amp;nbsp;} else { &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$target = ($visibleElements[-1]).FindName(($evt.Key.Split(&amp;quot;.&amp;quot;)[0]))&lt;/p&gt;
&lt;p&gt;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;</description></item><item><title>Dew Drop - May 25, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#8551081</link><pubDate>Sun, 25 May 2008 18:38:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8551081</guid><dc:creator>Dew Drop - May 25, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.alvinashcraft.com/2008/05/25/dew-drop-may-25-2008/"&gt;http://www.alvinashcraft.com/2008/05/25/dew-drop-may-25-2008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#8551525</link><pubDate>Mon, 26 May 2008 00:28:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8551525</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;I fixed the missing brace, sorry. &amp;nbsp;Window events were a last minute change, and demonstrate the perils of last minute changes.&lt;/p&gt;
&lt;p&gt;James Brundage [MSFT]&lt;/p&gt;
</description></item><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#8608026</link><pubDate>Tue, 17 Jun 2008 03:34:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8608026</guid><dc:creator>ted</dc:creator><description>&lt;p&gt;Unable to load, I get a missing closing ')' on line 9 when cut and pasting into my profile. &lt;/p&gt;</description></item><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#9138740</link><pubDate>Mon, 24 Nov 2008 23:15:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9138740</guid><dc:creator>not working  </dc:creator><description>&lt;p&gt;not working &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;Missing closing ')' in expression.&amp;quot;&lt;/p&gt;</description></item><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#9894568</link><pubDate>Sat, 12 Sep 2009 23:50:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9894568</guid><dc:creator>Arnaud PETITJEAN [MVP]</dc:creator><description>&lt;p&gt;In order to make it work in PowerShell v2 RTM, be sure to remove the line &amp;quot;cmdlet -DefaultParameterSet VisualElement&amp;quot;.&lt;/p&gt;</description></item><item><title>re: WPF &amp; PowerShell -- Part 4 (XAML &amp; Show-Control)</title><link>http://blogs.msdn.com/powershell/archive/2008/05/25/wpf-powershell-part-4-xaml-show-control.aspx#9913003</link><pubDate>Mon, 26 Oct 2009 16:17:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9913003</guid><dc:creator>Lee Painton</dc:creator><description>&lt;p&gt;Just FYI, slider no longer returns a value in this example.&lt;/p&gt;</description></item></channel></rss>