SilverlightShow: Behaviors and Triggers in Silverlight Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Behaviors and Triggers in Silverlight <p>Thx for your article.Much helpful to me.</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment6392 Ezra http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Tue, 02 Aug 2011 13:27:17 GMT Re: Behaviors and Triggers in Silverlight <p>Thanks! Got my trigger written!</p> <p> </p> <pre style="font-family: consolas; font-size: 13px; color: #e0e0e0; background: none repeat scroll 0% 0% #181818;"><span style="color: #8080c0;">public</span> <span style="color: #8080c0;">class</span> <span style="color: #c7c7f1;">DatePickerDefaultContextMenuBehavior</span> : <span style="color: #c7c7f1;">WeakBehavior</span><<span style="color: #c7c7f1;">DatePicker</span>>      {         <span style="color: #8080c0;">protected</span> <span style="color: #8080c0;">override</span> <span style="color: #8080c0;">void</span> <span style="color: #fef1a9;">OnAttached</span>()         {             <span style="color: #8080c0;">base</span>.<span style="color: #fef1a9;">OnAttached</span>();             <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">MouseRightButtonUp</span> += <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonUp</span>;             <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">MouseRightButtonDown</span> += <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonDown</span>;                  }         <span style="color: #8080c0;">protected</span> <span style="color: #8080c0;">override</span> <span style="color: #8080c0;">void</span> <span style="color: #fef1a9;">OnDetaching</span>()         {             <span style="color: #8080c0;">base</span>.<span style="color: #fef1a9;">OnDetaching</span>();             <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">MouseRightButtonUp</span> -= <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonUp</span>;             <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">MouseRightButtonDown</span> -= <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonDown</span>;                     }                  <span style="color: #8080c0;">void</span> <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonDown</span>(<span style="color: #8080c0;">object</span> <span style="color: #fef1a9;">sender</span>, <span style="color: #c7c7f1;">MouseButtonEventArgs</span> <span style="color: #fef1a9;">e</span>)         {             <span style="color: #fef1a9;">e</span>.<span style="color: #fef1a9;">Handled</span> = <span style="color: #8080c0;">true</span>;         }         <span style="color: #c7c7f1;">ContextMenu</span> <span style="color: #fef1a9;">contextmenu</span>;         <span style="color: #8080c0;">void</span> <span style="color: #fef1a9;">AssociatedObject_MouseRightButtonUp</span>(<span style="color: #8080c0;">object</span> <span style="color: #fef1a9;">sender</span>, <span style="color: #c7c7f1;">MouseButtonEventArgs</span> <span style="color: #fef1a9;">e</span>)         {             <span style="color: #8080c0;">if</span> (<span style="color: #fef1a9;">contextmenu</span> == <span style="color: #8080c0;">null</span>)             {                 <span style="color: #c7c7f1;">Action</span><<span style="color: #8080c0;">string</span>> <span style="color: #fef1a9;">Add</span> = <span style="color: #8080c0;">delegate</span>(<span style="color: #8080c0;">string</span> <span style="color: #fef1a9;">header</span>)                 {                     <span style="color: #8080c0;">if</span> (<span style="color: #fef1a9;">header</span> == <span style="color: #60ff60;">"-"</span>)                     {                         <span style="color: #fef1a9;">contextmenu</span>.<span style="color: #fef1a9;">Items</span>.<span style="color: #fef1a9;">Add</span>(<span style="color: #8080c0;">new</span> <span style="color: #c7c7f1;">Separator</span>());                     }                     <span style="color: #8080c0;">else</span>                     {                         <span style="color: #8080c0;">var</span> <span style="color: #fef1a9;">item</span> = <span style="color: #8080c0;">new</span> <span style="color: #c7c7f1;">MenuItem</span>();                         <span style="color: #fef1a9;">item</span>.<span style="color: #fef1a9;">Header</span> = <span style="color: #fef1a9;">header</span>;                         <span style="color: #fef1a9;">item</span>.<span style="color: #fef1a9;">Click</span> += <span style="color: #fef1a9;">menuItem_Click</span>;                         <span style="color: #fef1a9;">contextmenu</span>.<span style="color: #fef1a9;">Items</span>.<span style="color: #fef1a9;">Add</span>(<span style="color: #fef1a9;">item</span>);                     }                 };                 <span style="color: #fef1a9;">contextmenu</span> = <span style="color: #8080c0;">new</span> <span style="color: #c7c7f1;">ContextMenu</span>();                 <span style="color: #fef1a9;">Add</span>(<span style="color: #60ff60;">"Clear Value"</span>);                 <span style="color: #fef1a9;">Add</span>(<span style="color: #60ff60;">"-"</span>);                 <span style="color: #fef1a9;">Add</span>(<span style="color: #60ff60;">"Today's Date"</span>);             }             <span style="color: #8080c0;">var</span> <span style="color: #fef1a9;">layoutRoot</span> = <span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">GetBaseParent</span>();             <span style="color: #fef1a9;">contextmenu</span>.<span style="color: #fef1a9;">IsOpen</span> = <span style="color: #8080c0;">true</span>;             <span style="color: #fef1a9;">contextmenu</span>.<span style="color: #fef1a9;">HorizontalOffset</span> = <span style="color: #fef1a9;">e</span>.<span style="color: #fef1a9;">GetPosition</span>(<span style="color: #fef1a9;">layoutRoot</span>).<span style="color: #fef1a9;">X</span>;             <span style="color: #fef1a9;">contextmenu</span>.<span style="color: #fef1a9;">VerticalOffset</span> = <span style="color: #fef1a9;">e</span>.<span style="color: #fef1a9;">GetPosition</span>(<span style="color: #fef1a9;">layoutRoot</span>).<span style="color: #fef1a9;">Y</span>;         }         <span style="color: #8080c0;">private</span> <span style="color: #8080c0;">void</span> <span style="color: #fef1a9;">menuItem_Click</span>(<span style="color: #8080c0;">object</span> <span style="color: #fef1a9;">sender</span>, <span style="color: #c7c7f1;">RoutedEventArgs</span> <span style="color: #fef1a9;">e</span>)         {             <span style="color: #8080c0;">switch</span> ((<span style="color: #fef1a9;">sender</span> <span style="color: #8080c0;">as</span> <span style="color: #c7c7f1;">MenuItem</span>).<span style="color: #fef1a9;">Header</span>.<span style="color: #fef1a9;">ToString</span>())             {                 <span style="color: #8080c0;">case</span> <span style="color: #60ff60;">"Clear Value"</span>:                     <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">SelectedDate</span> = <span style="color: #8080c0;">null</span>;                     <span style="color: #8080c0;">break</span>;                 <span style="color: #8080c0;">default</span>:                     <span style="color: #8080c0;">this</span>.<span style="color: #fef1a9;">AssociatedObject</span>.<span style="color: #fef1a9;">SelectedDate</span> = <span style="color: #c7c7f1;">DateTime</span>.<span style="color: #fef1a9;">Today</span>;                     <span style="color: #8080c0;">break</span>;             }         }     } </pre>   http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment6304 Philip http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Thu, 23 Jun 2011 23:01:04 GMT Re: Behaviors and Triggers in Silverlight I very much liked your article on behaviors. However, I have found that they can cause memory leaks unless you explicitly remove the behaviours. I did some investigation and found that the Unloaded event of a control is called when you navigate away from a page in Silverlight or WP7. This releases the reference to the AssociatedObject and frees up memory which is a big problem in WP7.<br /> <br /> public abstract class WeakBehavior<T> : Behavior<T> where T : FrameworkElement<br /> {<br />     protected virtual void OnAssociatedObjectUnloaded(object sender, RoutedEventArgs e)<br />     {<br />         Interaction.GetBehaviors(this.AssociatedObject).Remove(this);<br />     }<br /> <br />     protected override void OnAttached()<br />     {<br />         base.OnAttached();<br /> <br />         this.AssociatedObject.Unloaded += this.OnAssociatedObjectUnloaded;<br />     }<br /> <br />     protected override void OnDetaching()<br />     {<br />         base.OnDetaching();<br /> <br />         this.AssociatedObject.Unloaded -= this.OnAssociatedObjectUnloaded;<br />     }<br /> } http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment6298 blacklight http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Mon, 20 Jun 2011 18:58:01 GMT RE: Behaviors and Triggers in Silverlight Very good articale. Thanks http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5999 Nam Cao http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Wed, 27 Apr 2011 21:26:59 GMT RE: Behaviors and Triggers in Silverlight <p>Hi Sae1962,</p> <p>"local" is an alias for the namespace where the behavior (or generally, the target element you want to use in xaml) resides. For example I use "local" always when I want to import the namespace for the current project. Take a look at the declaration of UserControl with the examples in xaml:</p> <p><em>xmlns:local="clr-namespace:Behaviors". </em></p> <p> </p> <p> </p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5592 ppopadiyn http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 18:42:50 GMT Sorry for the double entries! I pressed twice F5 (refresh) on the Microsoft Internet Explorer 8 and clicked OK on the message that warned that it would not be a good idea to refresh, if I am shopping. Interestingly, the last entered message appears a second time with a new timestamp. http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5591 Sae1962 http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 18:30:37 GMT ad Question on local I forgot to write you the error message MVS2010 gives for local. It reads "'local' is an undefined prefix. Line 24, position 7." http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5589 Sae1962 http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 18:25:55 GMT RE: Behaviors and Triggers in Silverlight <p>All the demos run very well. Also, I can see on this page the animations.</p> <p>I have only one question about the code. In the MainPage.xaml code, you use for the first click behaviour in the block </p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"><</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">interactivity</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">Interaction.Behaviors</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">></span></p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">  <</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">local</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">InverseColorClickBehavior</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">/></span></p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"></</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">interactivity</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">Interaction.Behaviors</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">></span></p> <p>From where does the system find this local element? I created in another test project for my own a , but the local element remains unknown. The underlined part in italic is underlined with a blue waved line in my MVS2010. From where does the system "knows" the "local" in your project?</p> <p>Thank you for your information!</p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">public </span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">class</span><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: rgb(43, 145, 175); font-family: consolas; font-size: 13px;">DeleteOnRightMouseButtonDownBehavior</span><span style="font-family: consolas; font-size: 13px;"> : </span><span style="color: rgb(43, 145, 175); font-family: consolas; font-size: 13px;">Behavior</span><span style="font-family: consolas; font-size: 13px;"><</span><span style="color: rgb(43, 145, 175); font-family: consolas; font-size: 13px;">FrameworkElement</span><span style="font-family: consolas; font-size: 13px;">></span></p> <p><span style="font-family: consolas; font-size: 13px;"> ...</span></p> <p> <span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"><</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">interactivity</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">Interaction.Behaviors</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">></span></p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">  <</span><span style="text-decoration: underline;"><em><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">local</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">DeleteOnRightMouseButtonDownBehavior</span></em></span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">/></span></p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"></</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">interactivity</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">:</span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;">Interaction.Behaviors</span><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;">></span></p> <p><span style="color: rgb(0, 0, 255); font-family: consolas; font-size: 13px;"><br> </br></span><span style="font-family: consolas; font-size: 13px;"> </span></p> <span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;"></span><span style="color: rgb(163, 21, 21); font-family: consolas; font-size: 13px;"></span> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5587 Sae1962 http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 18:15:40 GMT RE: Behaviors and Triggers in Silverlight <p>Thank you verrry much! :-> That was the reason. Now, the first one runs properly. If other problems arise, I will let you know.</p> <p>Have a nice weekend!</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5585 Sae1962 http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 17:29:15 GMT RE: Behaviors and Triggers in Silverlight <p>Hi Sae1962,</p> <p>I think, you should set the <em>Behaviors.Web</em> project as a start up project. It seems that after the conversion of the demo to SL4, the start up project get changed. Sorry for the inconvenience caused.</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5584 ppopadiyn http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 17:20:32 GMT RE: Behaviors and Triggers in Silverlight <p>Hi!</p> <p>Behaviours and triggers are new to me. I tried the first and second example under Silverlight 4 with Microsoft Visual Studio 2010. Interestingly, the program runs, but there is no action: no colour change, no magnification. Can you help me?</p> <p>Thanks!</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5583 Sae1962 http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 25 Feb 2011 17:09:17 GMT RE: Behaviors and Triggers in Silverlight excellent resource http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5215 Cathleen http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Sun, 02 Jan 2011 23:47:18 GMT RE: Behaviors and Triggers in Silverlight <em>The article has been updated to the latest version of Silverlight and Visual Studio.</em> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment5144 lnikolov http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Wed, 22 Dec 2010 18:11:51 GMT RE: Behaviors and Triggers in Silverlight 3 Thanks <span id="ctl00_cphMiddle_ContentPlaceHolderContent_itemComments_dlstComments_ctl20_lblCommentAuthor">Braulio </span>;) http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment4649 ppopadiyn http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Tue, 12 Oct 2010 12:59:52 GMT RE: Behaviors and Triggers in Silverlight 3 Great article, nice to learn, but the best... nice to use as reference material ;-). http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment4646 Braulio Diez http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Mon, 11 Oct 2010 23:46:06 GMT RE: Behaviors and Triggers in Silverlight 3 <p>Hi Ray,</p> <p>As far as I know, there are no differences with SL 4. Everything that is written in this article is valid also for SL4. Probably there are some predefined behaviors which are part of the new version of Expression Blend, but I am not familiar with them.</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment3952 ppopadiyn http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Thu, 08 Jul 2010 17:12:11 GMT RE: Behaviors and Triggers in Silverlight 3 <p>Any differences in Behaviors in Silverlight 4</p> <p>Ray Akkanson</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment3951 Ray Akkanson http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Thu, 08 Jul 2010 17:08:41 GMT RE: Behaviors and Triggers in Silverlight 3 it's nice http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment3639 SuperMan http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Thu, 20 May 2010 02:52:59 GMT RE: Behaviors and Triggers in Silverlight 3 excellent http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment3378 Samiha http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Tue, 13 Apr 2010 14:12:29 GMT RE: Behaviors and Triggers in Silverlight 3 Great Post. Can you please provide some info regarding the project "SharedEffectsLibrary" in the solution? http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment3347 Harish Kumar http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Sun, 04 Apr 2010 08:46:21 GMT RE: Behaviors and Triggers in Silverlight 3 This is a great resource on Behaviors, nicely done.  Definitely worth sharing. http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment2882 Adam Kinney http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 08 Jan 2010 02:05:26 GMT RE: Behaviors and Triggers in Silverlight 3 Thanks for the tutorial this is maybe the best resource on subject i found so far! <p> </p> <p> </p> <br /> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment2392 roboblob http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Wed, 23 Sep 2009 10:02:25 GMT RE: Behaviors and Triggers in Silverlight 3 Hi qotsa <p>Did you try to open the whole solution? It must include 3 projects.</p> <br /> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment2364 ppopadiyn http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 18 Sep 2009 07:31:42 GMT RE: Behaviors and Triggers in Silverlight 3 when i try to run the first proyect i got an error because it doesnt find the <span style="font-family: 'courier new'; font-size: 11px; line-height: 16px; white-space: pre; ">inverseColor method, and i dont have the code,</span><div><span style="font-family: 'courier new'; font-size: 11px; line-height: 16px; white-space: pre; "><br /></span></div><div><span style="font-family: 'courier new'; font-size: 11px; line-height: 16px; white-space: pre; "> tnks</span></div> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment2363 qotsa http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Fri, 18 Sep 2009 01:05:43 GMT RE: Behaviors and Triggers in Silverlight 3 <p>The <strong>TargetedTriggerAction</strong> can be used to effectively implement the isolation between the view and the model, because it's essentially commanding without having binding(it's done manually).</p> <p>I love this addition for all the reasons you listed, and see a lot of use in our development.</p> <p>Thanks for making these concepts clearer.</p> http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx#comment2265 Fallon Massey http://www.silverlightshow.net/items/Behaviors-and-Triggers-in-Silverlight-3.aspx Thu, 20 Aug 2009 21:18:34 GMT