Skip to main content
Tab

ImageSliderItemCollection.Add(String, String) Method

Adds a new item with the specified settings to the end of the collection and returns the newly created object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ImageSliderItem Add(
    string imageUrl,
    string thumbnailUrl
)

Parameters

Name Type Description
imageUrl String

A String value specifying the path to the item image. Initializes the item’s ImageSliderItem.ImageUrl property.

thumbnailUrl String

A String value specifying the path to the item image thumbnail. Initializes the item’s ImageSliderItem.ThumbnailUrl property.

Returns

Type Description
ImageSliderItem

An ImageSliderItem object that is the newly created item.

Remarks

Use the Add method to add a new item with the specified settings to the ImageSliderItemCollection object.

See Also