Skip to main content
A newer version of this page is available. .

MVCxImageGalleryItemCollection.Add(String) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxImageGalleryItem Add(
    string imageUrl
)

Parameters

Name Type Description
imageUrl String

A String value specifying the path to the ImageGallery item’s image. This value is assigned to the MVCxImageGalleryItemCollection.ImageUrl property.

Returns

Type Description
MVCxImageGalleryItem

An MVCxImageGalleryItem object representing the newly created image gallery item.

See Also