Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

689 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