ImageSliderItemCollection.Add(String, String) Method
In This Article
Adds a new item with the specified settings to the end of the collection and returns the newly created object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ImageSliderItem Add(
string imageUrl,
string thumbnailUrl
)
#Parameters
Name | Type | Description |
---|---|---|
image |
String | A String value specifying the path to the item image. Initializes the item’s Image |
thumbnail |
String | A String value specifying the path to the item image thumbnail. Initializes the item’s Image |
#Returns
Type | Description |
---|---|
Image |
An Image |
#Remarks
Use the Add method to add a new item with the specified settings to the ImageSliderItemCollection object.
See Also