Skip to main content

MVCxImageSliderItemCollection.Add(String, String) Method

Creates a new image item with the specified settings and adds it to the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxImageSliderItem Add(
    string imageUrl,
    string thumbnailUrl
)

Parameters

Name Type Description
imageUrl String

A String value specifying the path to the ImageSlider item’s image. This value is assigned to the ImagePropertiesBase.Url property.

thumbnailUrl String

A String value specifying the path to the item thumbnail image. This value is assigned to the ImagePropertiesBase.Url property.

Returns

Type Description
MVCxImageSliderItem

An MVCxImageSliderItem object representing the newly created image item.

See Also