Skip to main content
Tab

ImageSliderItemCollection.Add(String, 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,
    string navigateUrl
)

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.

navigateUrl String

A String value specifying the URL to which the browser navigates when the item’s text is clicked. Initializes the item’s ImageSliderItem.NavigateUrl 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