Class SfCarouselItem
Implements the properties used to get the views of each item that is rendered in the SfCarousel control.
Inheritance
System.Object
SfCarouselItem
Namespace: Syncfusion.Maui.Carousel
Assembly: Syncfusion.Maui.Carousel.dll
Syntax
public class SfCarouselItem : View, ICarouselItem, IView, IElement, ITransform
Constructors
SfCarouselItem()
Initializes a new instance of the SfCarouselItem class.
Declaration
public SfCarouselItem()
Fields
ImageNameProperty
Identifies the ImageName bindable property. This property can be used to give an image to be displayed with in a carousel item.
Declaration
public static readonly BindableProperty ImageNameProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ItemContentProperty
Identifies the ItemContent bindable property. This property can be used to give custom view to be rendered to the item.
Declaration
public static readonly BindableProperty ItemContentProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
ImageName
Gets or sets the value of ImageName. This property can be used to give the image to be displayed with in a carousel item.
Declaration
public string ImageName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is empty. |
ItemContent
Gets or sets the value of ItemContent. This property can be used to give custom view to be rendered to the item.
Declaration
public View ItemContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.View | The default value is null. |
Implements
Microsoft.Maui.IView
Microsoft.Maui.IElement
Microsoft.Maui.ITransform