<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: WPF: Making combo box items disabled &#8211; also when accessed using the keyboard</title>
	<atom:link href="http://blog.elgaard.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.elgaard.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/</link>
	<description>On life, universe and software development with focus on simplicity, quality and maintainability</description>
	<lastBuildDate>Sun, 20 Jun 2010 08:35:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Catherine</title>
		<link>http://blog.elgaard.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-5</link>
		<dc:creator><![CDATA[Catherine]]></dc:creator>
		<pubDate>Sun, 20 Jun 2010 08:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://belgaard.wordpress.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-5</guid>
		<description><![CDATA[Link appreciated. I will check it out soon.]]></description>
		<content:encoded><![CDATA[<p>Link appreciated. I will check it out soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: belgaard</title>
		<link>http://blog.elgaard.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-4</link>
		<dc:creator><![CDATA[belgaard]]></dc:creator>
		<pubDate>Wed, 16 Jun 2010 18:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://belgaard.wordpress.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-4</guid>
		<description><![CDATA[I am happy that the post is useful. There is no list of known bugs with work-arounds published so I guess the best bet is to use the usual sources, including blog posts. You could also have a look at WPF Connect at &lt;a href=&quot;http://connect.microsoft.com/WPF&quot; rel=&quot;nofollow&quot;&gt;http://connect.microsoft.com/WPF&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>I am happy that the post is useful. There is no list of known bugs with work-arounds published so I guess the best bet is to use the usual sources, including blog posts. You could also have a look at WPF Connect at <a href="http://connect.microsoft.com/WPF" rel="nofollow">http://connect.microsoft.com/WPF</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catherine</title>
		<link>http://blog.elgaard.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-3</link>
		<dc:creator><![CDATA[Catherine]]></dc:creator>
		<pubDate>Wed, 16 Jun 2010 03:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://belgaard.wordpress.com/2009/09/03/wpf-making-combo-box-items-disabled-also-when-accessed-using-the-keyboard/#comment-3</guid>
		<description><![CDATA[Thankyou a million times for this work-around.
For those who like me didn&#039;t &#039;get it&#039; at first, the problem is that you can select items in the combo by using the keyboard arrows and until it has been dropped down it allows the disabled items to be selected that way. I was probably a bit dim not understanding it, so let me repay you by adding my bit of information. 

By default, in a list of strings, you can also select the items by typing the first character into the combo, unless it is editable. Disabled items are selectable this way. My work-around for this is to handle the PreviewTextInput event. Eventargs e.Text contains the text you typed, and you can implement the usual functionality yourself, excluding disabled items, and cancel the default processing by setting e.Handled to true. The usual functionality is to select the next item that starts with the typed letter. I would include the code but I can&#039;t see how to do it in a nicely formatted way.

I think this is another bug.

Do you know, is there a list of known bugs for WPF 4 and their workarounds? Particularly DataGrid, which is really buggy and I am tearing my hair out. Not a good look.]]></description>
		<content:encoded><![CDATA[<p>Thankyou a million times for this work-around.<br />
For those who like me didn&#8217;t &#8216;get it&#8217; at first, the problem is that you can select items in the combo by using the keyboard arrows and until it has been dropped down it allows the disabled items to be selected that way. I was probably a bit dim not understanding it, so let me repay you by adding my bit of information. </p>
<p>By default, in a list of strings, you can also select the items by typing the first character into the combo, unless it is editable. Disabled items are selectable this way. My work-around for this is to handle the PreviewTextInput event. Eventargs e.Text contains the text you typed, and you can implement the usual functionality yourself, excluding disabled items, and cancel the default processing by setting e.Handled to true. The usual functionality is to select the next item that starts with the typed letter. I would include the code but I can&#8217;t see how to do it in a nicely formatted way.</p>
<p>I think this is another bug.</p>
<p>Do you know, is there a list of known bugs for WPF 4 and their workarounds? Particularly DataGrid, which is really buggy and I am tearing my hair out. Not a good look.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

