How to perform an operation while changing the carouselItem?

17 Jan 20251 minute to read

We can perform operation while changing the carouselItem using SelectionChanged event. SelectionChanged event returns the index changed SfCarouselItem.

  • C#
  • carousel.SelectionChanged += (object sender, SfCarousel.SelectionChangedEventArgs e) =>
    {
       
    };

    How to perform an operation while changing the collection of carousel?

    17 Jan 20251 minute to read

    We can perform operation while changing the collection of carousel using ItemsCollectionChanged event. ItemsCollectionChanged event returns changed collection of SfCarouselItem

  • C#
  • carousel.ItemsCollectionChanged += (object sender SfCarousel.ItemsCollectionChangedEventArgs e) =>
        {
        
        };