<?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: How insert Separator in a databound ComboBox</title>
	<atom:link href="http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/</link>
	<description>Jeremy Alles Presentation Foundation: WPF, Silverlight, Windows Phone 7, Windows 8</description>
	<lastBuildDate>Fri, 13 Jan 2012 15:59:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mike Kulls</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-3098</link>
		<dc:creator>Mike Kulls</dc:creator>
		<pubDate>Mon, 04 Jul 2011 03:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-3098</guid>
		<description>&quot;But IMHO I prefer not to have any UI-related stuff in my ViewModel classes&quot;

doesn&#039;t adding a blank item (that consitutes a separator anyway) fail to achieve this?</description>
		<content:encoded><![CDATA[<p>&#8220;But IMHO I prefer not to have any UI-related stuff in my ViewModel classes&#8221;</p>
<p>doesn&#8217;t adding a blank item (that consitutes a separator anyway) fail to achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zzpluralza</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-3053</link>
		<dc:creator>zzpluralza</dc:creator>
		<pubDate>Wed, 04 May 2011 22:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-3053</guid>
		<description>It was not obvious at first to me so I want to add for others that you need to specify the binding path that will have your &quot;empty value&quot; as such



Hope that helps</description>
		<content:encoded><![CDATA[<p>It was not obvious at first to me so I want to add for others that you need to specify the binding path that will have your &#8220;empty value&#8221; as such</p>
<p>Hope that helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: F£ö</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-2924</link>
		<dc:creator>F£ö</dc:creator>
		<pubDate>Wed, 30 Mar 2011 12:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-2924</guid>
		<description>I almost forget ...
There is no need for HorizontalAlignment=&quot;Stretch&quot; IsEnabled=&quot;False&quot; in the Separator (at least with Framework 4.0).</description>
		<content:encoded><![CDATA[<p>I almost forget &#8230;<br />
There is no need for HorizontalAlignment=&#8221;Stretch&#8221; IsEnabled=&#8221;False&#8221; in the Separator (at least with Framework 4.0).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: F£ö</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-2923</link>
		<dc:creator>F£ö</dc:creator>
		<pubDate>Wed, 30 Mar 2011 12:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-2923</guid>
		<description>I used the ComboBox.ItemTemplate property to achieve the same goal.
This work fine as well, but your solution is better in my case : I can use the DisplayMemberPath property at the same time !!
Thanks a lot ;-)</description>
		<content:encoded><![CDATA[<p>I used the ComboBox.ItemTemplate property to achieve the same goal.<br />
This work fine as well, but your solution is better in my case : I can use the DisplayMemberPath property at the same time !!<br />
Thanks a lot <img src='http://www.japf.fr/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cannon</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1577</link>
		<dc:creator>Cannon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 12:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1577</guid>
		<description>The previous suggestion doesn&#039;t work.
The solution http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx</description>
		<content:encoded><![CDATA[<p>The previous suggestion doesn&#8217;t work.<br />
The solution <a href="http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx" rel="nofollow">http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cannon</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1574</link>
		<dc:creator>Cannon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 11:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1574</guid>
		<description>I&#039;ve also added a setter to DataTrigger, to make separators unselectable:

                            
                                
                                    
                                        
                                    
                                
                            
                            
                        </description>
		<content:encoded><![CDATA[<p>I&#8217;ve also added a setter to DataTrigger, to make separators unselectable:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1166</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1166</guid>
		<description>Great, works fine!</description>
		<content:encoded><![CDATA[<p>Great, works fine!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-439</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-439</guid>
		<description>Erratum:
In post #3, should read
&quot;...general-purpose ObservableCollection&lt;object&gt; instead of ObservableCollection&lt;string&gt;...&quot;</description>
		<content:encoded><![CDATA[<p>Erratum:<br />
In post #3, should read<br />
&#8220;&#8230;general-purpose ObservableCollection&lt;object&gt; instead of ObservableCollection&lt;string&gt;&#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-438</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-438</guid>
		<description>Thomas, you&#039;re right. 

But IMHO I prefer not to have any UI-related stuff in my ViewModel classes :-)</description>
		<content:encoded><![CDATA[<p>Thomas, you&#8217;re right. </p>
<p>But IMHO I prefer not to have any UI-related stuff in my ViewModel classes <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-437</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-437</guid>
		<description>If you don&#039;t mind using the more general-purpose ObservableCollection instead of ObservableCollection, then you could simply add a Separator object in the binding source:

DataContext = new ObservableCollection 
{
	&quot;Catergory 1&quot;,
	new Separator(),
	&quot;Catergory 2&quot;,
	&quot;Catergory 3&quot;,
};</description>
		<content:encoded><![CDATA[<p>If you don&#8217;t mind using the more general-purpose ObservableCollection instead of ObservableCollection, then you could simply add a Separator object in the binding source:</p>
<p>DataContext = new ObservableCollection<br />
{<br />
	&#8220;Catergory 1&#8243;,<br />
	new Separator(),<br />
	&#8220;Catergory 2&#8243;,<br />
	&#8220;Catergory 3&#8243;,<br />
};</p>
]]></content:encoded>
	</item>
</channel>
</rss>

