SilverlightShow: Animating ListBox items 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: Animating ListBox items <p>Well, two seconds after I posted my last comment I figured it out.  I declare selectedItem as "private static FrameworkElement selectedItem" and replace any reference of "this.selectedItem" with "selectedItem".</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment6656 MatthewBrown http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Fri, 14 Oct 2011 20:36:34 GMT Re: Animating ListBox items <p>I apologize for bringing this topic back up, but my "selectedItem" is always null when I click the second item.  It stores the selected item just fine, but the next time around it's null again.  This is causing the "unselect" animation not to work.  Any ideas why the private variable "selectedItem" is not keeping it's value?  TIA</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment6655 MatthewBrown http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Fri, 14 Oct 2011 20:34:10 GMT RE: Animating ListBox items <em><span style="font-size: 11pt; line-height: 115%; font-family: calibri, sans-serif;">The article has been updated to the latest version of Silverlight and Visual Studio.</span></em> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment5265 lnikolov http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Fri, 07 Jan 2011 13:28:12 GMT RE: Animating ListBox items <p>10x, John, the Introduction section was updated to reflect the Silverlight version needed to run this example.</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment205 idragoev http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Mon, 30 Jun 2008 08:42:12 GMT RE: Animating ListBox items <p>You may want to update this article or tag it with "Silverlight 2 Beta 1".</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment204 John "Z-Bo" Zabroski http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Mon, 30 Jun 2008 06:49:55 GMT RE: Animating ListBox items <p><span><strong><span style="color: #ff0000;">Update:</span></strong> Check the second part of this article - <a href="http://www.silverlightshow.net/items/Animating-ListBox-items-the-VisualStateManager.aspx">Animating ListBox Items - the VisualStateManager</a></span></p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment176 idragoev http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Fri, 13 Jun 2008 01:17:37 GMT RE: Animating ListBox items <p>Hi, Im currently working on second article where I will show VSM and some limitations of it that I faced.</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment172 idragoev http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Thu, 12 Jun 2008 00:14:37 GMT RE: Animating ListBox items <p>Did you get a chance to convert this to work in Beta2. as per your comment on  my blog I was trying to convert this to use VSM and just want to see a working version. if I get it to work (atleast partly) do you mind if I post  the sample on my blog?</p> <p>Thanks</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment169 lee http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Wed, 11 Jun 2008 07:23:31 GMT RE: Animating ListBox items <p>Oh this is nice :) Very good use of the power that Silverlight has to offer. I will try to make a module based on thsi for the next release of SilverlightDesktop.net</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment151 Michael Washington http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Wed, 04 Jun 2008 08:52:33 GMT RE: Animating ListBox items <p>Hi Ruurd,</p> <p>Thanks for the feedback! I plan to continue with another article covering this issues and some other also. So expect more soon.</p> <p>Ivan</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment150 idragoev http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Wed, 04 Jun 2008 00:33:40 GMT RE: Animating ListBox items <p>Nice! However, since you can select an item through keyboard as well, it might be better to react to some event like SelectedItemChanged if such an event exists. Now there is only reaction to the mousebutton.</p> http://www.silverlightshow.net/items/Animating-ListBox-items.aspx#comment149 Ruurd Boeke http://www.silverlightshow.net/items/Animating-ListBox-items.aspx Tue, 03 Jun 2008 15:35:42 GMT