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.v20.1.dll

Declaration

public MVCxImageSliderItem Add(
    string imageUrl,
    string thumbnailUrl
)
Public Function Add(
    imageUrl As String,
    thumbnailUrl As String
) As MVCxImageSliderItem

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