FlipView: HowTo bind a Collection<string> as ItemsSource

c#, windows-store-apps, xaml

Solution

You can use URLs binding those to `Source` attribute of an `Image` inside an `ItemTemplate`:

<FlipView.ItemTemplate>
   <DataTemplate>
       <Image Source="{Binding}" />
   </DataTemplate>
</FlipView.ItemTemplate>

flipView.ItemsSource = imageUrls;

An example of displaying images from Bing in a FlipView.

Problem

Is there a smart way to bind a `Collection<string>` that contains the URLs of images to be shown in a `FlipView`? Or do I have to provide the images in a `Collection<Image>`?

Original source