Solved

How to create a rollover colour change for a listbox item using MS Blend (WPF)

Posted on 2010-09-08
1
514 Views
Last Modified: 2013-11-12
Dear Experts

I am tring to create an accordion navigation menu control in MS blend with custom rollover effects. I think the listbox/listboxItem control is best suiterd for this task.

I can drag and drop the list box onto my control and place the list box items inside without problem. However when I try to change the background colour of the list box item for when the mouse goes over I see the following error (in the viewer):

"A design time error was discored in the prototype
Cannot animate '¿0¿.¿1¿' on an immutable object instance."


To create the rollover effect I select the listboxitem, right click and edit the template. Inside the template I set the state to mouseover and the state recording starts. I then selected the bd object and change the backgorund colour; however this doesn't seem to work.

Regards

Giles Beaumont
0
Comment
Question by:beaumondo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
beaumondo earned 0 total points
ID: 33644163
In the end I decided to use the following example (see link) as a template

http://gallery.expression.microsoft.com/en-us/animatedmenu 
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question