Issue with respect to number of items in cover flow?

6 posts, 0 answers
  1. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 25 Jun 2012 Link to this post

    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
  2. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 25 Jun 2012 Link to this post

    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>


  3. DevCraft banner
  4. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 25 Jun 2012 Link to this post

    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"


  5. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 26 Jun 2012 Link to this post

    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 >>

  6. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 26 Jun 2012 Link to this post

    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
  7. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 26 Jun 2012 Link to this post

    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 >>

Back to Top
DevCraft banner