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.SfCarousel.XForms
Assembly: Syncfusion.SfCarousel.XForms.dll
Syntax
public class SfCarouselItem : View
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 |
---|
Xamarin.Forms.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 |
---|
Xamarin.Forms.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 |
---|---|
Xamarin.Forms.View | The default value is null. |