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

2 posts, 0 answers
  1. Steve Savage
    Steve Savage avatar
    4 posts
    Member since:
    Sep 2009

    Posted 21 Jan 2011 Link to this post

    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
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 27 Jan 2011 Link to this post

    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>>
  3. DevCraft banner
Back to Top