ImageSliderItemCollection.Add(String, String, String, String, String) Method
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,
string navigateUrl,
string text,
string name
)
#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 |
navigate |
String | A String value specifying the URL to which the browser navigates when the item’s text is clicked. Initializes the item’s Image |
text | String | A String value specifying the item’s display text. Initializes the item’s Image |
name | String | A String value that specifies the created item’s name. 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.