I try to add a CoverFlow to a grid at runtime.
In the Coverflow Images should be shown.
ItemsSource of the CoverFlow is connected to a collection of objects that have a ImageURL property.
ImageURL value is for instance "/Images/nature1.png"
Images are stored in "ClientBin/Images"
If I run the application only the ImageURL is shown as text in the CoverFlow.
In the Q2 version I had no problem.
Is an item template mandatory for the items in the CoverFlow in Q3? If yes how can I assign it in code behind. I don't have a XAML file.
In the Coverflow Images should be shown.
ItemsSource of the CoverFlow is connected to a collection of objects that have a ImageURL property.
ImageURL value is for instance "/Images/nature1.png"
Images are stored in "ClientBin/Images"
CoverFlow = new RadCoverFlow(){ReflectionStartAlpha=100, |
ReflectionRelativeHeight = 0.3, |
CameraY = -120, |
ItemMaxHeight = 140, |
Height = 200 }; |
Grid1.Children.Add(CoverFlow); |
CoverFlow.DisplayMemberPath = "ImageUrl"; |
AntwoordCoverFlow.ItemsSource = ImageCollection; |
If I run the application only the ImageURL is shown as text in the CoverFlow.
In the Q2 version I had no problem.
Is an item template mandatory for the items in the CoverFlow in Q3? If yes how can I assign it in code behind. I don't have a XAML file.