Setting cursor property on carousel items?

2 posts, 0 answers
  1. Albert
    Albert avatar
    65 posts
    Member since:
    Aug 2008

    Posted 05 Apr 2010 Link to this post

  2. Peter
    Peter avatar
    1160 posts

    Posted 08 Apr 2010 Link to this post

    Hi Albert,

    Thanks for contacting us.
    You can change cursor over RadCarousel's items using the MouseHover and MouseLeave events.
    See the code below:
    radCarouselItem1.MouseHover +=new EventHandler(imageItem_MouseHover);
    radCarouselItem1.MouseLeave +=new EventHandler(imageItem_MouseLeave);                
    //add the item into carousel
    void imageItem_MouseLeave(object sender, EventArgs e)
                Cursor = Cursors.Default;       
    void imageItem_MouseHover(object sender, EventArgs e)
                Cursor = Cursors.Hand;       
    Hope this helps.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top