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

ImageGalleryItemCollection.Add(String, String, String, String, String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

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.

fullscreenViewerThumbnailUrl String

A String value that specifies the item full screen viewer thumbnail url. Initializes the item’s ImageGalleryItem.FullscreenViewerThumbnailUrl property.

fullscreenViewerText String

A String value that specifies the item full screen viewer text. Initializes the item’s ImageGalleryItem.FullscreenViewerText property.

Returns

Type Description
ImageGalleryItem

A ImageGalleryItem object that is the newly created item.

See Also