<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Rating Selector</title>
	<atom:link href="http://marlongrech.wordpress.com/2007/12/17/rating-selector/feed/" rel="self" type="application/rss+xml" />
	<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/</link>
	<description>my life in Avalon ....</description>
	<lastBuildDate>Thu, 05 Nov 2009 19:16:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2030</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Thu, 28 Feb 2008 09:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2030</guid>
		<description>Hi, Thanks for your help. One last question. 
Why did you use the SelectRatingcommand for the RatingSelectorItem. Couldnt you have used an MouseLeftButtonDown event for it just like the MouseEnter event. By the way I did this but the event was not fired. Dont know what the problem was.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for your help. One last question.<br />
Why did you use the SelectRatingcommand for the RatingSelectorItem. Couldnt you have used an MouseLeftButtonDown event for it just like the MouseEnter event. By the way I did this but the event was not fired. Dont know what the problem was.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marlongrech</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2029</link>
		<dc:creator>marlongrech</dc:creator>
		<pubDate>Wed, 27 Feb 2008 15:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2029</guid>
		<description>Hi,
 that is an anonymouse function
http://www.softsteel.co.uk/tutorials/cSharp/lesson22.html

Regards</description>
		<content:encoded><![CDATA[<p>Hi,<br />
 that is an anonymouse function<br />
<a href="http://www.softsteel.co.uk/tutorials/cSharp/lesson22.html" rel="nofollow">http://www.softsteel.co.uk/tutorials/cSharp/lesson22.html</a></p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2028</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Wed, 27 Feb 2008 09:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2028</guid>
		<description>Hi, can you explain what MouseEnter += delegate means. I&#039;ve never seen such an instruction before.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, can you explain what MouseEnter += delegate means. I&#8217;ve never seen such an instruction before.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marlongrech</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2025</link>
		<dc:creator>marlongrech</dc:creator>
		<pubDate>Tue, 26 Feb 2008 11:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2025</guid>
		<description>Hi, 

basically the concept is to create Lookless Controls
have a look here
http://www.cubido.at/Blog/tabid/176/EntryID/81/Default.aspx

Let me know if you need more info</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>basically the concept is to create Lookless Controls<br />
have a look here<br />
<a href="http://www.cubido.at/Blog/tabid/176/EntryID/81/Default.aspx" rel="nofollow">http://www.cubido.at/Blog/tabid/176/EntryID/81/Default.aspx</a></p>
<p>Let me know if you need more info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2024</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Tue, 26 Feb 2008 09:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2024</guid>
		<description>A slight problem in the previous comment.
Hi, sorry for asking so many questions. Could you give me the reason why you used a ResourceDictionary and not a UserControl and why did you wrap the ItemsPanelTemplate and ControlTemplate inside Style tags. Couldnt you have used them without these tags. Thanks</description>
		<content:encoded><![CDATA[<p>A slight problem in the previous comment.<br />
Hi, sorry for asking so many questions. Could you give me the reason why you used a ResourceDictionary and not a UserControl and why did you wrap the ItemsPanelTemplate and ControlTemplate inside Style tags. Couldnt you have used them without these tags. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2023</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Tue, 26 Feb 2008 08:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2023</guid>
		<description>Hi, sorry for asking so many questions. Could you give me the reason why you used a ResourceDictionary and not a UserControl and why did you wrap the  and  inside  tags. Couldnt you have used them without these tags. Thanks</description>
		<content:encoded><![CDATA[<p>Hi, sorry for asking so many questions. Could you give me the reason why you used a ResourceDictionary and not a UserControl and why did you wrap the  and  inside  tags. Couldnt you have used them without these tags. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marlongrech</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2018</link>
		<dc:creator>marlongrech</dc:creator>
		<pubDate>Sat, 23 Feb 2008 14:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2018</guid>
		<description>no problem... if you need any more help (even not related to AvalonControlsLibrary) please let me know 

Regards</description>
		<content:encoded><![CDATA[<p>no problem&#8230; if you need any more help (even not related to AvalonControlsLibrary) please let me know </p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2017</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Sat, 23 Feb 2008 14:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2017</guid>
		<description>You are STUPENDOUS!!! Thanks a lot for the help.</description>
		<content:encoded><![CDATA[<p>You are STUPENDOUS!!! Thanks a lot for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marlongrech</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2016</link>
		<dc:creator>marlongrech</dc:creator>
		<pubDate>Sat, 23 Feb 2008 14:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2016</guid>
		<description>Basically what happens is that the Rating Selector Raises an event (RateItemMouseOver) to all RatingSelectorItems to tell them that one of the items is being mouse overed. 

All RaitingSelectorItems have a property called IsHigherRateMouseOver which is set in the event handler of the Rating selector RateItemMouseOver event.. This event handler looks like this

//handler for the rate item mouse over
void ParentSelectorRateItemMouseOver(object sender, RateItemMouseOverEventArgs args)
{
    if (args.Cancel)

        IsHigherRateMouseOver = false;
    else
        IsHigherRateMouseOver = args.RateValue &gt;= RateValue;
}

so basically here every RatingSelectorItem checks if the the value of the item being mouse over is greater or equal to it&#039;s own item. If it is the IsHigherRateMouseOver is set to true. In the XAML there is a trigger that gives a color to the item if this property is set to true....

That&#039;s it .... if you need any more info please let me know</description>
		<content:encoded><![CDATA[<p>Basically what happens is that the Rating Selector Raises an event (RateItemMouseOver) to all RatingSelectorItems to tell them that one of the items is being mouse overed. </p>
<p>All RaitingSelectorItems have a property called IsHigherRateMouseOver which is set in the event handler of the Rating selector RateItemMouseOver event.. This event handler looks like this</p>
<p>//handler for the rate item mouse over<br />
void ParentSelectorRateItemMouseOver(object sender, RateItemMouseOverEventArgs args)<br />
{<br />
    if (args.Cancel)</p>
<p>        IsHigherRateMouseOver = false;<br />
    else<br />
        IsHigherRateMouseOver = args.RateValue &gt;= RateValue;<br />
}</p>
<p>so basically here every RatingSelectorItem checks if the the value of the item being mouse over is greater or equal to it&#8217;s own item. If it is the IsHigherRateMouseOver is set to true. In the XAML there is a trigger that gives a color to the item if this property is set to true&#8230;.</p>
<p>That&#8217;s it &#8230;. if you need any more info please let me know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hassan</title>
		<link>http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2015</link>
		<dc:creator>Hassan</dc:creator>
		<pubDate>Sat, 23 Feb 2008 13:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://marlongrech.wordpress.com/2007/12/17/rating-selector/#comment-2015</guid>
		<description>Hi, Could you explain a little about the events you have declared in your control. I have downloaded the code but still dont know quite how its functioning. When the mouse moves over a RatingSelectorItem the Fill color of path changes but how do the previous Items know they have to change color too? Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, Could you explain a little about the events you have declared in your control. I have downloaded the code but still dont know quite how its functioning. When the mouse moves over a RatingSelectorItem the Fill color of path changes but how do the previous Items know they have to change color too? Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
