Solved

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

Posted on 2010-09-08
1
513 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…

856 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