Hi,
I have tried many(!) techniques and variations but am unable to bind my CoverFlow to a collection. Any assistance would be welcome. I don't want to paste a ton of code so hopefully this will be enough to illustrate my situation. I just have to think I'm missing something basic. Thanks in advance for any insights...
I have tried many(!) techniques and variations but am unable to bind my CoverFlow to a collection. Any assistance would be welcome. I don't want to paste a ton of code so hopefully this will be enough to illustrate my situation. I just have to think I'm missing something basic. Thanks in advance for any insights...
<telerikNavigation:RadCoverFlow x:Name="calendarCovers" Background="Transparent" |
OffsetY="20" |
CameraViewpoint="Center" |
RotationY="40" |
ItemScale="0.85" |
ItemWidth="225" |
ItemHeight="176" Grid.Row="2" Grid.ColumnSpan="3" OffsetX="-20" ContentType="Image" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-20,0,0" > |
</telerikNavigation:RadCoverFlow> |
context = new CanvasByNatureDomainContext(); |
EntityQuery<Calendar> query = context.GetCalendarsQuery(); |
context.Load<Calendar>(query).Completed += (sender, args) => |
{ |
List<Calendar> calendarList = ((LoadOperation<Calendar>)sender).Entities.ToList(); |
// THIS WORKS... |
foreach (Calendar c in calendarList) |
{ |
calendarCovers.Items.Add(c.ImagePath); |
} |
// THIS DOES NOT WORK (my images are not displayed, though I get the correct number of 'loading' images) |
//foreach (Calendar c in calendarList) |
//{ |
// calendarCovers.Items.Add(c); |
//} |
//calendarCovers.DisplayMemberPath = "ImagePath"; |
// THIS DOES NOT WORK (my images are not displayed, though I get the correct number of 'loading' images) |
//calendarCovers.ItemsSource = calendarList; |
//calendarCovers.DisplayMemberPath = "ImagePath"; |
// THIS DOES NOT WORK (my images are not displayed, though I get the correct number of 'loading' images) |
//Add to XAML: ItemsSource="{Binding}" |
//calendarCovers.DataContext = calendarList; |
//calendarCovers.DisplayMemberPath = "ImagePath"; |
}; |