Binding identical images to Coverflow

2 posts, 0 answers
  1. koen
    koen avatar
    6 posts
    Member since:
    Dec 2010

    Posted 18 Feb 2011 Link to this post

    I have a coverflow binded to a List of Images and when there are identical images in the List the Coverflow isn't working correctly anymore. The naviagtion seems to be corrupted by the identical images.

    The ImageList contains for instance:

    imageList[0] =

    imageList[2] =

    The code:

    liProjecten = new List<ListProject>();
    ObservableCollection<string> imageList = new ObservableCollection<string>();
    foreach (var kvb in e.Result.Reverse()) //Loop through reverse, so the last projects get on top of the list
            new ListProject()
                Id = kvb.Id,
                Name = kvb.Naam,
                imgSource = kvb.ImageUrl,
                LastModifiedDate = kvb.LastModifyDate
    CoverFlow.ItemsSource = null;
    CoverFlow.ItemsSource = imageList;
    CoverFlow.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(CoverFlow_SelectionChanged);
    //Set default selected project
    if (imageList.Count != 0)
        CoverFlow.SelectedIndex = 0;

    Is there a solutions for this problem?

    Kind regards,

    Koen Meijer
  2. George
    George avatar
    1332 posts

    Posted 23 Feb 2011 Link to this post


    We are aware of this problem. Unfortunately, this is a bug in the ListBox control and we can't do anything at this stage. I would suggest you to workaround the issue using the BitmapImage class. Please, refer to the attached project.

    I hope this helps.

    All the best,
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top