<?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: New feature in September PDC: DisplayMemberPath</title>
	<atom:link href="http://bea.stollnitz.com/blog/?feed=rss2&#038;p=8" rel="self" type="application/rss+xml" />
	<link>http://bea.stollnitz.com/blog/?p=8</link>
	<description>on Silverlight and WPF</description>
	<lastBuildDate>Mon, 02 Aug 2010 17:57:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=8&#038;cpage=1#comment-377</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Wed, 19 Sep 2007 06:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=8#comment-377</guid>
		<description>Hi Matt,
I&#039;m glad my delayed reply was still useful. Thanks for following my blog :)
Bea</description>
		<content:encoded><![CDATA[<p>Hi Matt,<br />
I&#8217;m glad my delayed reply was still useful. Thanks for following my blog :)<br />
Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hamilton</title>
		<link>http://bea.stollnitz.com/blog/?p=8&#038;cpage=1#comment-376</link>
		<dc:creator>Matt Hamilton</dc:creator>
		<pubDate>Wed, 19 Sep 2007 06:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=8#comment-376</guid>
		<description>Thanks for the reply, Bea. TextSearch.TextPath is exactly what I was looking for. I figured you guys must have taken keyboard accessibility into account! :)

Matt</description>
		<content:encoded><![CDATA[<p>Thanks for the reply, Bea. TextSearch.TextPath is exactly what I was looking for. I figured you guys must have taken keyboard accessibility into account! :)</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bea</title>
		<link>http://bea.stollnitz.com/blog/?p=8&#038;cpage=1#comment-365</link>
		<dc:creator>Bea</dc:creator>
		<pubDate>Tue, 18 Sep 2007 19:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=8#comment-365</guid>
		<description>Hi Matt,

I actually get a compile error when setting both DisplayMemberPath and ItemTemplate with the Orcas build I have. You should never have to set both properties at the same time.

If you want to enable search when ItemTemplate is set, you can set TextSearch.TextPath=&quot;Name&quot; on the ListBox. 

We enabled search by default with DisplayMemberPath because it&#039;s really easy for us to know what text you want to use for the search. With ItemTemplate it&#039;s a lot more complicated, so we only enable it when you specify the search path explicitly.

Let me know if this helps.

Bea</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I actually get a compile error when setting both DisplayMemberPath and ItemTemplate with the Orcas build I have. You should never have to set both properties at the same time.</p>
<p>If you want to enable search when ItemTemplate is set, you can set TextSearch.TextPath=&#8221;Name&#8221; on the ListBox. </p>
<p>We enabled search by default with DisplayMemberPath because it&#8217;s really easy for us to know what text you want to use for the search. With ItemTemplate it&#8217;s a lot more complicated, so we only enable it when you specify the search path explicitly.</p>
<p>Let me know if this helps.</p>
<p>Bea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hamilton</title>
		<link>http://bea.stollnitz.com/blog/?p=8&#038;cpage=1#comment-319</link>
		<dc:creator>Matt Hamilton</dc:creator>
		<pubDate>Tue, 07 Aug 2007 02:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://bea.stollnitz.com/blog/?p=8#comment-319</guid>
		<description>Hi Beatriz,

I&#039;ve noticed, at least in ListBox, that setting DisplayMemberPath enables keyboard lookups on the control. So if I start typing the first few letters of an item&#039;s text, the selection jumps to that item.

What&#039;s especially useful is that this behaviour remains even if I also set ItemTemplate, so that my items can take on a customized appearance.

However, I notice that Visual Studio in the background throws a tonne of these silent exceptions:

System.Windows.Data Error: 20 : Both &#039;ContentTemplate&#039; and &#039;ContentTemplateSelector&#039; are set; &#039;ContentTemplateSelector&#039; will be ignored.

Is this ok? Or is there a recommended way to get the keyboard lookup behaviour while using ItemTemplate?

Cheers,
Matt</description>
		<content:encoded><![CDATA[<p>Hi Beatriz,</p>
<p>I&#8217;ve noticed, at least in ListBox, that setting DisplayMemberPath enables keyboard lookups on the control. So if I start typing the first few letters of an item&#8217;s text, the selection jumps to that item.</p>
<p>What&#8217;s especially useful is that this behaviour remains even if I also set ItemTemplate, so that my items can take on a customized appearance.</p>
<p>However, I notice that Visual Studio in the background throws a tonne of these silent exceptions:</p>
<p>System.Windows.Data Error: 20 : Both &#8216;ContentTemplate&#8217; and &#8216;ContentTemplateSelector&#8217; are set; &#8216;ContentTemplateSelector&#8217; will be ignored.</p>
<p>Is this ok? Or is there a recommended way to get the keyboard lookup behaviour while using ItemTemplate?</p>
<p>Cheers,<br />
Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>
