Skip to main content
A newer version of this page is available. .
Tab

ImageGalleryItem.ImageUrl Property

Gets or sets the path to the item image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string ImageUrl { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the path to the image.

Remarks

Use the ImageUrl property to specify a URL that is the path to the item image displayed within the fullscreen viewer. If the ASPxImageGallery is bound to a data source, you can specify the data source’s data field (or an xml element’s attribute) which stores locations of item images via the ASPxImageGallery.ImageUrlField property.

You can specify an item thumbnail via the ImageGalleryItem.ThumbnailUrl property; and the fullscreen viewer thumbnail via the ImageGalleryItem.FullscreenViewerThumbnailUrl property. If a thumbnail is not specified, it is automatically created from the image specified via the ImageUrl property.

See Also