<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WPF Windows 7 Explorer Toolbar Control</title>
	<atom:link href="http://www.daveamenta.com/2010-02/wpf-windows-7-explorer-toolbar-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daveamenta.com/2010-02/wpf-windows-7-explorer-toolbar-control/</link>
	<description>(dot (at dave daveamenta) com)</description>
	<lastBuildDate>Sat, 17 Sep 2011 16:39:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: myro</title>
		<link>http://www.daveamenta.com/2010-02/wpf-windows-7-explorer-toolbar-control/comment-page-1/#comment-7706</link>
		<dc:creator>myro</dc:creator>
		<pubDate>Mon, 31 May 2010 13:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveamenta.com/?p=350#comment-7706</guid>
		<description>thank you sir!</description>
		<content:encoded><![CDATA[<p>thank you sir!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri</title>
		<link>http://www.daveamenta.com/2010-02/wpf-windows-7-explorer-toolbar-control/comment-page-1/#comment-7465</link>
		<dc:creator>Yuri</dc:creator>
		<pubDate>Mon, 03 May 2010 21:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveamenta.com/?p=350#comment-7465</guid>
		<description>Thanks a lot for your xaml template. I think doing the overflow menu in xaml is too cumbersome. Why not do it using code behind?

A little example to get started, in order to hide the button when window is too small:
        private void ToolBar_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            if (ButtonPreferences.TransformToAncestor(this).Transform(new Point(0, 0)).X + ButtonPreferences.ActualWidth &gt; this.ActualWidth)
                ButtonPreferences.Visibility = Visibility.Hidden;
            else
                ButtonPreferences.Visibility = Visibility.Visible;
         }</description>
		<content:encoded><![CDATA[<p>Thanks a lot for your xaml template. I think doing the overflow menu in xaml is too cumbersome. Why not do it using code behind?</p>
<p>A little example to get started, in order to hide the button when window is too small:<br />
        private void ToolBar_SizeChanged(object sender, SizeChangedEventArgs e)<br />
        {<br />
            if (ButtonPreferences.TransformToAncestor(this).Transform(new Point(0, 0)).X + ButtonPreferences.ActualWidth &gt; this.ActualWidth)<br />
                ButtonPreferences.Visibility = Visibility.Hidden;<br />
            else<br />
                ButtonPreferences.Visibility = Visibility.Visible;<br />
         }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

