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

Some issues with changing the selecteditem image

3 Answers 109 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexandre
Top achievements
Rank 1
Alexandre asked on 29 May 2009, 06:29 PM
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

 

3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 01 Jun 2009, 09:44 AM
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.
0
itWorks itWorks
Top achievements
Rank 1
answered on 17 Jun 2009, 05:16 PM
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
0
Miroslav Nedyalkov
Telerik team
answered on 18 Jun 2009, 12:13 PM
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.
Tags
CoverFlow
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
itWorks itWorks
Top achievements
Rank 1
Share this question
or