Skip to main content
Tab

ASPxImageGallery.ThumbnailUrlField Property

Gets or sets the name of a data field (or an xml element’s attribute) which provides image gallery item thumbnail locations.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String String.Empty

A string value that specifies the name of the required data source field.

Remarks

The ThumbnailUrlField property is in effect if an image gallery is bound to a data source.

Use the ThumbnailUrlField property to specify the bound data source’s data field (or an xml element’s attribute) which stores the thumbnail URLs of image gallery items. The ThumbnailUrlField property maps the ImageGalleryItem.ThumbnailUrl properties of image gallery item objects to the specified data field’s values.

If the ThumbnailUrlField property of a data bound image gallery is not defined, the control can automatically obtain item thumbnail URLs from a data field whose name is “ThumbnailUrl”. You can also use the ASPxImageGallery.ItemDataBound property to manipulate an item’s settings as required.

See Also