This is a migrated thread and some comments may be shown as answers.

How do perform hover over or click events on selected image on the Employee Demo

1 Answer 65 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Steve Savage
Top achievements
Rank 1
Steve Savage asked on 21 Jan 2011, 12:30 PM
Hi,

I am using the Employee demo as the template for my coverflow but am having problems trying to perform any actions on the selected image. For example I would like some kind of hover over effect to give more details of the image and also I'd like the user to be able to click through.

However I have tried many ways to distinguish the selected image but I cant seem to isolate it from the images on the left or right.

Has anyone had any luck, or know what I am doing wrong?

Thanks in advance,
Steve

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 27 Jan 2011, 07:37 AM
Hello Steve Savage,

Have you tried to add Normal and MouseOver VisualStates with storyboards in a CommonStates VisualStateGroup?

The example relies on 3 VisualStates that specify whether the image is before, after or is the selected one. If you want to change something on the selected CoverflowImage you should change the Selected visual state.

Can you give me some code to explain what you are trying to achieve? I think coverflow items do not have events such as "Selected" or something however they have IsSelected property to which you can bind other properties.

Regards,
Pana
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
CoverFlow
Asked by
Steve Savage
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or