MVCxImageGalleryItemCollection.Add(String, String, String, String, String, String) Method
Creates a new image gallery item with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxImageGalleryItem Add(
string imageUrl,
string text,
string thumbnailUrl,
string fullscreenViewerThumbnailUrl,
string fullscreenViewerText,
string navigateUrl
)
#Parameters
Name | Type | Description |
---|---|---|
image |
String | A String value specifying the path to the Image |
text | String | A String value specifying the text (description) of the current image item. This value is assigned to the MVCx |
thumbnail |
String | A String value specifying the path to the item thumbnail image. This value is assigned to the MVCx |
fullscreen |
String | A String value specifying the path to the item thumbnail image within the full-screen viewer. This value is assigned to the MVCx |
fullscreen |
String | A String value specifying the text (description) of the current image item within the full-screen viewer. This value is assigned to the MVCx |
navigate |
String | A String value specifying the URL to which the browser navigates when the item is clicked. This value is assigned to the MVCx |
#Returns
Type | Description |
---|---|
MVCx |
An MVCx |