Thank you very much for the feedback.
We had a really difficult time figuring out what API to create for the image hub tiles. As it turns out, a collection of strings is not the best approach.
The change to the current API will be very simple and will not introduce a breaking change. We will simply change the ImageSources to be Collection<object> instead of Collection<string>. In this way, users can put whatever they want inside the collection and will be able to convert whatever objects they put inside via the CreateImageSouce callback property which is already present in the latest build. With the new changes you will be able to do this:
> imageSources =
ImageSource image = GetImageFromWeb();
RadMosaicHubTile hubTile =
hubTile.CreateImageSource = (source) =>
hubTile.ImageSources = imageSources;
Since in your case you directly have ImageSource objects. You just insert them in the ImageSources collection and then set the CreateImageSouce callback to a method that just casts the objects that come from the collection to ImageSource. When CreateImageSource is set back to null, the hub tile will simply assume that the objects are strings and interpret them as such.
These changes will be in effect in the next internal build.
Please write again if you need further assistance.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>