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

Issue with respect to number of items in cover flow?

5 Answers 45 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Shilpi
Top achievements
Rank 1
Shilpi asked on 25 Jun 2012, 01:49 PM
Hi -

I was using the coverflow control and I saw that if I put the control in the scrollviewer or in a grid with RowDefinition and Height set to Auto, there is some least number of items that are required to display all the items.
To reproduce this problem, Just take the first look sample code for Cover flow and put the control in ScrollViewer and reduce the number of items in Users.DataContext to one or two.

<

 

 

ScrollViewer>

 

 

<telerik:RadCoverFlow VerticalAlignment="Center" ItemsSource="{Binding}" ItemContainerStyle="{StaticResource RadCoverFlowItemTemplate}" OffsetY="100"

 

DistanceBetweenItems="90" DistanceFromSelectedItem="10" ReflectionHeight="0.15" ReflectionOpacity="2" RotationY="42"

 

IsVirtualizing="True" CameraViewpoint="Center" ItemScale="0.75" CameraRotation="2">

 

 

<telerik:RadCoverFlow.EasingFunction>

 

 

<CubicEase EasingMode="EaseOut"/>

 

 

</telerik:RadCoverFlow.EasingFunction>

 

 

</telerik:RadCoverFlow>

 

 

</ScrollViewer>



Please let me know if I am doing something wrong instead?

Thanks, Shilpi

5 Answers, 1 is accepted

Sort by
0
Shilpi
Top achievements
Rank 1
answered on 25 Jun 2012, 02:31 PM
When I put cover flow in RadPanelBar then also it looks like it needs some minimum number of items set

<

Grid x:Name="LayoutRoot" Background="White" >

<telerikPanel:RadPanelBar ExpandMode="Multiple" ScrollViewer.HorizontalScrollBarVisibility="Disabled">

<telerikPanel:RadPanelBarItem Header="Available Books">

<local:TestCoverFlowControl></local:TestCoverFlowControl>

</telerikPanel:RadPanelBarItem>


0
Shilpi
Top achievements
Rank 1
answered on 25 Jun 2012, 04:46 PM
I was able to get around this issue by setting MaxHeight as suggested in another post. But I can't place that control in the Accordion control provided by Microsoft.

xmlns

 

 

:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"


0
Ivo
Telerik team
answered on 26 Jun 2012, 02:38 PM
Hello Shilpi,

Thank you for contacting us.

I would suggest you to set the MinWidth or the Width property of the corresponding AccordionItem where you place the RadCoverFlow control. You can find a sample project attached.

I hope this helps you.

Kind regards,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Shilpi
Top achievements
Rank 1
answered on 26 Jun 2012, 02:41 PM
Thank you. When do you think this issue might be fixed, cause I don't want to set a width and setting it to "Auto" doesn't work.

Thanks, Shilpi
0
Ivo
Telerik team
answered on 26 Jun 2012, 03:27 PM
Hi Shilpi,

Actually we investigated this and we think this one is a feature and not an issue of the RadCoverFlow, because the control was designed to work with fixed sizes. We have created a new feature request into our PITS and you can find it here. If it gets enough votes we will consider implementing it.

Greetings,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
CoverFlow
Asked by
Shilpi
Top achievements
Rank 1
Answers by
Shilpi
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or