Skip to main content
Tab

ImageGalleryItemCollection.Add(String, String, String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public ImageGalleryItem Add(
    string imageUrl,
    string text,
    string thumbnailUrl
)

Parameters

Name Type Description
imageUrl String

A String value that specifies the item image url. Initializes the item’s ImageGalleryItem.ImageUrl property.

text String

A String value that specifies the item text. Initializes the item’s ImageGalleryItem.Text property.

thumbnailUrl String

A String value that specifies the item thumbnail url. Initializes the item’s ImageGalleryItem.ThumbnailUrl property.

Returns

Type Description
ImageGalleryItem

A ImageGalleryItem object that is the newly created item.

See Also