Class SelectionChangedEventArgs
Provides data for the SelectionChanged event.
Inheritance
System.Object
    SelectionChangedEventArgs
  Namespace: Syncfusion.Maui.Toolkit.Carousel
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class SelectionChangedEventArgs : EventArgs
  Remarks
This class contains information about the new and old selected items within the SfCarousel.
Constructors
SelectionChangedEventArgs()
Declaration
public SelectionChangedEventArgs()
  Properties
NewItem
Gets the value of the selected item. This property identifies the item that is currently selected in SfCarousel.
Declaration
public object NewItem { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Object | The current selected item.  | 
      
OldItem
Gets the value of the previous item. This property can be used to identify the item that was previously selected in SfCarousel.
Declaration
public object OldItem { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Object | The previous item.  |