New to Telerik UI for WPF? Download free 30-day trial

Get the Topmost Item in RadCarousel


Product RadCarousel for WPF


How to get the uppermost item in RadCarousel.


You can access the RadCarouselPanel, through the FindCarouselPanel method of the RadCarousel. Then you can utilize its TopContainer property. It will return the CarouselItem visual element, however you can check its DataContext to get the bound object in an MVVM scenario.

RadCarouselPanel carouselPanel = this.MyCarousel.FindCarouselPanel(); 
var topContainer = carouselPanel.TopContainer; 
var dataContext = (topContainer as CarouselItem).DataContext; 

<telerik:RadCarousel x:Name="MyCarousel"  

You can handle the TopContainerChanged event of the RadCarouselPanel in order to get notified when the TopContainer changes.

In this article