How to: Upload Images directly into CoverFlow Control?

2 posts, 0 answers
  1. David Lino
    David Lino avatar
    13 posts
    Member since:
    Apr 2010

    Posted 19 Apr 2010 Link to this post


    Hi, can anyone help me with this? I'm new with silverlight and i'm having trouble in achieving this. Could anyone post a snippet of code?

    Thanks a lot =)
  2. Jim Daly
    Jim Daly avatar
    13 posts
    Member since:
    Apr 2010

    Posted 19 Apr 2010 Link to this post

    The best way to go is to create some sort of collection of the images you want to display, like a List, or any collection type that implements the IEnumerable interface, then bind the to the ItemSource property of the RadCoverFlow.

    This sample gets its images from Flikr, but you can in the see in the code-behind (Example.xaml.cs) that populates a collection (an ObservableCollection in this case), and the last thing it does is bind it to this.coverFlow.ItemSource:

    http://demos.telerik.com/silverlight/#CoverFlow/DataBinding
  3. DevCraft banner
Back to Top