Skip to main content

MVCxImageSliderItemCollection.Add(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.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public MVCxImageSliderItem Add(
    string imageUrl
)

#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.

#Returns

Type Description
MVCxImageSliderItem

An MVCxImageSliderItem object representing the newly created image item.

See Also