ImageGalleryItemCollection.Add(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
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. |
Returns
Type | Description |
---|---|
ImageGalleryItem | A ImageGalleryItem object that is the newly created item. |
See Also