Solved

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now