Class CarouselItemBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CarouselItemBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class CarouselItemBuilder : ControlBuilder
Constructors
CarouselItemBuilder()
Declaration
public CarouselItemBuilder()
CarouselItemBuilder(List<CarouselItem>)
Declaration
public CarouselItemBuilder(List<CarouselItem> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<CarouselItem> |
collection |
|
Methods
Add()
Declaration
CssClass(String)
Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
Declaration
public CarouselItemBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
HtmlAttributes(Object)
Accepts HTML attributes/custom attributes to add in individual carousel item.
Declaration
public CarouselItemBuilder HtmlAttributes(object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Object |
htmlAttributes |
|
Returns
Interval(Double)
Accepts the interval duration in milliseconds for individual carousel item transition.
Declaration
public CarouselItemBuilder Interval(double interval)
Parameters
Type |
Name |
Description |
System.Double |
interval |
|
Returns
Template(String)
Accepts the template for individual carousel item.
Declaration
public CarouselItemBuilder Template(string template)
Parameters
Type |
Name |
Description |
System.String |
template |
|
Returns