Some issues with changing the selecteditem image

4 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    12 posts
    Member since:
    May 2009

    Posted 29 May 2009 Link to this post

    the thing I was trying to accomplish was having a coverflow with black and white images and then the selected item would have a Color image.
    I accomplish that by binding to a ObservableCollection<myItem> and then on the selectionchange event I go in change the previous selected item to the black and white image, and the new selected item to the color image.
    This works but has a catch, the smooth transition is gone, now as I change the item I don't see it transition instead it looks like it jumps from the back, defiantly looks cheesy.
    Now if there another way to do this, and still have the smooth transition?
    I was thinking like having an item template bound to a property of myitem called bwimagepath and then have a selecteditem template bound to the colorimage property, and all work smooth.

    is this feasible?
    TIA

     

  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 01 Jun 2009 Link to this post

    Hello Alexandre,

    Unfortunately you cannot do this with the CoverFlow control. When you replace the data Item it creates a new container and it is animated as just created item. You can't change this behavior.

    We will consider implementing a way to allow this in future, but at the time present I cannot tell any time frame neither how we are going to enable it.

    Should you have any other questions concerning the CoverFlow control, do not hesitate to get back to us.

    Regards,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  3. DevCraft banner
  4. itWorks itWorks
    itWorks itWorks avatar
    6 posts
    Member since:
    Feb 2009

    Posted 17 Jun 2009 Link to this post

    Hi,
    I'm new using RadCoverFlow, I though it was easy to set the selectedImage dimensions, but i have not been able to set 350x500 for ALL selected images, some of then appears cutted or smaller than the size i was trying. I was thinking ItemMaxHeight/Width were going to work but nothing. Any suggestions? The same with the location for selectedItem, i have not been able to move it down

    Thx in advance
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 18 Jun 2009 Link to this post

    Hi itWorks itWorks,

    The ItemMaxWidth and ItemMaxHeight work in a bit different way than expected - they constraint the size of the image before projecting to the screen. In the default control template of the CoverFlowPerspectiveItem, the selected image is near to the point of view and it appears bigger. This is the reason why it looks like these properties are not working correctly.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Back to Top