Hello,
I tried to recreating the 'First Look' sample with different objects. The code below is taken from the sample. I have only changed one line there.
The issue I am having is that the carousel does not display items until I move the mouse wheel or move the items in a different way.
The moduleCarousel.FindCarouselPanel().BringDataItemIntoView(customer); does not help. Is there a way to refresh or something ?
I tried to recreating the 'First Look' sample with different objects. The code below is taken from the sample. I have only changed one line there.
public Example() |
{ |
InitializeComponent(); |
this.sampleRadCarousel.ItemsSource = DAL.GetCustomers(); |
this.sampleRadCarousel.Loaded += new RoutedEventHandler(sampleRadCarousel_Loaded); |
} |
void sampleRadCarousel_Loaded(object sender, RoutedEventArgs e) |
{ |
Path path = CreateLinePath(); |
Telerik.Windows.Controls.RadCarouselPanel panel = this.sampleRadCarousel.FindCarouselPanel(); |
panel.ItemsPerPage = 7; |
panel.Path = path; |
} |
The issue I am having is that the carousel does not display items until I move the mouse wheel or move the items in a different way.
The moduleCarousel.FindCarouselPanel().BringDataItemIntoView(customer); does not help. Is there a way to refresh or something ?