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

How to: Upload Images directly into CoverFlow Control?

1 Answer 44 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
David Lino
Top achievements
Rank 1
David Lino asked on 19 Apr 2010, 01:19 PM

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

1 Answer, 1 is accepted

Sort by
0
Jim Daly
Top achievements
Rank 1
answered on 19 Apr 2010, 07:45 PM
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
Tags
CoverFlow
Asked by
David Lino
Top achievements
Rank 1
Answers by
Jim Daly
Top achievements
Rank 1
Share this question
or