Skip to main content
Tab

ImageSliderItemCollection.Add(String) Method

Adds a new item with the specified image URL 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
)

Parameters

Name Type Description
imageUrl String

A String value specifying the path to the item image. Initializes the item’s ImageSliderItem.ImageUrl 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 image URL to the ImageSliderItemCollection object.

See Also