<?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: The WPF RadioButton</title>
	<atom:link href="http://arcanecode.com/2007/09/20/the-wpf-radiobutton/feed/" rel="self" type="application/rss+xml" />
	<link>http://arcanecode.com/2007/09/20/the-wpf-radiobutton/</link>
	<description>Making Microsoft .Net Development Magical</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:57:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: John Q. Public</title>
		<link>http://arcanecode.com/2007/09/20/the-wpf-radiobutton/#comment-27235</link>
		<dc:creator><![CDATA[John Q. Public]]></dc:creator>
		<pubDate>Sat, 07 Nov 2009 21:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/09/20/the-wpf-radiobutton/#comment-27235</guid>
		<description><![CDATA[Excellent article.  Here is something just to complete the loop.

Given this XAML: 
/// 
                    
                        Option 1
                        Option 2
                        Option 3
                    

///  and this code behind (C#)

          bool? testWhichRadioButtonClickedBool = null;

            testWhichRadioButtonClickedBool = RadioBtn1.IsChecked;

            if (testWhichRadioButtonClickedBool != null)
            {
                if (testWhichRadioButtonClickedBool != false)
                {
                    //do first procedure here

                }
            }

            testWhichRadioButtonClickedBool = RadioBtn2.IsChecked; 

            if (testWhichRadioButtonClickedBool != null)
            {
                if (testWhichRadioButtonClickedBool != false)
                {
                    //do second procedure here

                }
            }

            testWhichRadioButtonClickedBool = RadioBtn3.IsChecked;

            if (testWhichRadioButtonClickedBool != null)
            {
                if (testWhichRadioButtonClickedBool != false)
                {
                    //do third procedure here

                }
            }

//only one of these three if statements is true at any time]]></description>
		<content:encoded><![CDATA[<p>Excellent article.  Here is something just to complete the loop.</p>
<p>Given this XAML:<br />
/// </p>
<p>                        Option 1<br />
                        Option 2<br />
                        Option 3</p>
<p>///  and this code behind (C#)</p>
<p>          bool? testWhichRadioButtonClickedBool = null;</p>
<p>            testWhichRadioButtonClickedBool = RadioBtn1.IsChecked;</p>
<p>            if (testWhichRadioButtonClickedBool != null)<br />
            {<br />
                if (testWhichRadioButtonClickedBool != false)<br />
                {<br />
                    //do first procedure here</p>
<p>                }<br />
            }</p>
<p>            testWhichRadioButtonClickedBool = RadioBtn2.IsChecked; </p>
<p>            if (testWhichRadioButtonClickedBool != null)<br />
            {<br />
                if (testWhichRadioButtonClickedBool != false)<br />
                {<br />
                    //do second procedure here</p>
<p>                }<br />
            }</p>
<p>            testWhichRadioButtonClickedBool = RadioBtn3.IsChecked;</p>
<p>            if (testWhichRadioButtonClickedBool != null)<br />
            {<br />
                if (testWhichRadioButtonClickedBool != false)<br />
                {<br />
                    //do third procedure here</p>
<p>                }<br />
            }</p>
<p>//only one of these three if statements is true at any time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Heydenrych</title>
		<link>http://arcanecode.com/2007/09/20/the-wpf-radiobutton/#comment-26709</link>
		<dc:creator><![CDATA[Mark Heydenrych]]></dc:creator>
		<pubDate>Sat, 16 May 2009 05:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/09/20/the-wpf-radiobutton/#comment-26709</guid>
		<description><![CDATA[Fantastic little tutorial. Quick, helpful, clear. I&#039;ve found lots of useful stuff on this site. Thanks ;)]]></description>
		<content:encoded><![CDATA[<p>Fantastic little tutorial. Quick, helpful, clear. I&#8217;ve found lots of useful stuff on this site. Thanks <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos de Luna Sáenz</title>
		<link>http://arcanecode.com/2007/09/20/the-wpf-radiobutton/#comment-25592</link>
		<dc:creator><![CDATA[Carlos de Luna Sáenz]]></dc:creator>
		<pubDate>Thu, 19 Jun 2008 16:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/09/20/the-wpf-radiobutton/#comment-25592</guid>
		<description><![CDATA[What i meant is... i have to &quot;iterate&quot; or &quot;look&quot; on each one of the radio Buttons... how if you didn&#039;t use the Name property... can i use the groupName and get the radioButtons inside the group??? 
Thanks]]></description>
		<content:encoded><![CDATA[<p>What i meant is&#8230; i have to &#8220;iterate&#8221; or &#8220;look&#8221; on each one of the radio Buttons&#8230; how if you didn&#8217;t use the Name property&#8230; can i use the groupName and get the radioButtons inside the group???<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos de Luna Sáenz</title>
		<link>http://arcanecode.com/2007/09/20/the-wpf-radiobutton/#comment-25591</link>
		<dc:creator><![CDATA[Carlos de Luna Sáenz]]></dc:creator>
		<pubDate>Thu, 19 Jun 2008 16:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://arcanecode.wordpress.com/2007/09/20/the-wpf-radiobutton/#comment-25591</guid>
		<description><![CDATA[In your example... how do i know wich one is selected by the user?
Greetings]]></description>
		<content:encoded><![CDATA[<p>In your example&#8230; how do i know wich one is selected by the user?<br />
Greetings</p>
]]></content:encoded>
	</item>
</channel>
</rss>

