ImageGalleryItemCollection.Add(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.v24.2.dll
Declaration
public ImageGalleryItem Add(
string imageUrl,
string text,
string thumbnailUrl,
string fullscreenViewerThumbnailUrl
)
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. |
Returns
Type | Description |
---|---|
ImageGalleryItem | A ImageGalleryItem object that is the newly created item. |
See Also