Skip to main content
Tab

ImageGalleryItem Class

An individual item within the image gallery control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class ImageGalleryItem :
    DataViewItem

Remarks

The ImageGalleryItem class implements the functionality of an individual image gallery item within an ASPxImageGallery control. Instances of the ImageGalleryItem class are maintained within the ASPxImageGallery.Items collection. Individual items can be accessed and manipulated (added or deleted) by using the means provided by the ImageGalleryItemCollection class, which is exposed via these Items properties.

You can define an item’s image (ImageGalleryItem.ImageUrl), thumbnail (ImageGalleryItem.ThumbnailUrl), and fullscreen viewer thumbnail (ImageGalleryItem.FullscreenViewerThumbnailUrl). If the ImageGalleryItem.ThumbnailUrl and ImageGalleryItem.FullscreenViewerThumbnailUrl are not specified, the corresponding images will be created automatically.

An item’s text can be specified via the ImageGalleryItem.Text and ImageGalleryItem.FullscreenViewerText properties. If the ImageGalleryItem.FullscreenViewerText property is not specified, it is equal to the ImageGalleryItem.Text property value.

The ImageGalleryItem.NavigateUrl property allows you to specify a URL to which the client web browser navigates whenever the item thumbnail is clicked.

See Also