Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public ImageSliderItem Add(
    string imageUrl
)
Public Function Add(
    imageUrl As String
) As ImageSliderItem

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