<?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: Bind with Enum in Silverlight</title>
	<atom:link href="http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/</link>
	<description>No path is too difficult. No destination is too far !</description>
	<lastBuildDate>Thu, 13 Jan 2011 04:45:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: segs vignos</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-640</link>
		<dc:creator>segs vignos</dc:creator>
		<pubDate>Wed, 17 Nov 2010 01:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-640</guid>
		<description>Lovely! Very well-done! :)</description>
		<content:encoded><![CDATA[<p>Lovely! Very well-done! <img src='http://www.sehajpal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beston clint</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-610</link>
		<dc:creator>beston clint</dc:creator>
		<pubDate>Fri, 12 Nov 2010 23:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-610</guid>
		<description>One again, your idea is very 

good.thank you!very much.</description>
		<content:encoded><![CDATA[<p>One again, your idea is very </p>
<p>good.thank you!very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: independent insurance association</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-445</link>
		<dc:creator>independent insurance association</dc:creator>
		<pubDate>Thu, 14 Oct 2010 16:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-445</guid>
		<description>Great blog post, I have been after that...

 Darrell</description>
		<content:encoded><![CDATA[<p>Great blog post, I have been after that&#8230;</p>
<p> Darrell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Online Casino Download</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-442</link>
		<dc:creator>Online Casino Download</dc:creator>
		<pubDate>Wed, 13 Oct 2010 12:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-442</guid>
		<description>good points and the details are more precise than somewhere else, thanks.

- Thomas</description>
		<content:encoded><![CDATA[<p>good points and the details are more precise than somewhere else, thanks.</p>
<p>- Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: poker spielen</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-401</link>
		<dc:creator>poker spielen</dc:creator>
		<pubDate>Thu, 30 Sep 2010 02:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-401</guid>
		<description>I should digg your post therefore more folks can look at it, very helpful, I had a hard time finding the results searching on the web, thanks.

- Murk</description>
		<content:encoded><![CDATA[<p>I should digg your post therefore more folks can look at it, very helpful, I had a hard time finding the results searching on the web, thanks.</p>
<p>- Murk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pokerspiel</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-390</link>
		<dc:creator>Pokerspiel</dc:creator>
		<pubDate>Tue, 21 Sep 2010 11:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-390</guid>
		<description>hey your blog design is very nice, neat and fresh and with updated content, make people feel peace and I always enjoy browsing your site.

- Norman</description>
		<content:encoded><![CDATA[<p>hey your blog design is very nice, neat and fresh and with updated content, make people feel peace and I always enjoy browsing your site.</p>
<p>- Norman</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lancome marianne</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-271</link>
		<dc:creator>lancome marianne</dc:creator>
		<pubDate>Wed, 16 Jun 2010 04:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-271</guid>
		<description>Your blog is very beautiful, can you tell me how to make.</description>
		<content:encoded><![CDATA[<p>Your blog is very beautiful, can you tell me how to make.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Themes</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-267</link>
		<dc:creator>WP Themes</dc:creator>
		<pubDate>Sat, 12 Jun 2010 02:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-267</guid>
		<description>Good brief and this mail helped me alot in my college assignement. Thank you for your information.</description>
		<content:encoded><![CDATA[<p>Good brief and this mail helped me alot in my college assignement. Thank you for your information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Halls</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-235</link>
		<dc:creator>Justin Halls</dc:creator>
		<pubDate>Tue, 18 May 2010 10:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-235</guid>
		<description>OK, it can be simplified a bit:-
public IEnumerable GetEnumValues(Type enumType)
		{
			return from gField in enumType.GetFields(BindingFlags.Static &#124; BindingFlags.Public)
				   select (Enum)gField.GetValue(enumType);
		}

and then the function is called simply by:-

cbEventTypes.ItemsSource = GetEnumValues(typeof(CONDITIONAL_EVENT_TYPE));

although it might benefit from some checks in the GetEnumValues function to ensure that the type passed actuall is an enum.</description>
		<content:encoded><![CDATA[<p>OK, it can be simplified a bit:-<br />
public IEnumerable GetEnumValues(Type enumType)<br />
		{<br />
			return from gField in enumType.GetFields(BindingFlags.Static | BindingFlags.Public)<br />
				   select (Enum)gField.GetValue(enumType);<br />
		}</p>
<p>and then the function is called simply by:-</p>
<p>cbEventTypes.ItemsSource = GetEnumValues(typeof(CONDITIONAL_EVENT_TYPE));</p>
<p>although it might benefit from some checks in the GetEnumValues function to ensure that the type passed actuall is an enum.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Halls</title>
		<link>http://www.sehajpal.com/index.php/2010/02/bind-with-enum-in-silverlight/comment-page-1/#comment-234</link>
		<dc:creator>Justin Halls</dc:creator>
		<pubDate>Tue, 18 May 2010 08:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.sehajpal.com/?p=62#comment-234</guid>
		<description>Just what i&#039;ve been looking for - BUT, I dont understand what you apss to the GetEnumValues() function.  In the example you use new SehajService.Currency(), but I have a simple enum.  How do i convert this into an acceptable Enum type for the parameter?</description>
		<content:encoded><![CDATA[<p>Just what i&#8217;ve been looking for &#8211; BUT, I dont understand what you apss to the GetEnumValues() function.  In the example you use new SehajService.Currency(), but I have a simple enum.  How do i convert this into an acceptable Enum type for the parameter?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

