Tab
A newer version of this page is available. Switch to the current version.

ImageGalleryItem Class

An individual item within the image gallery control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ImageGalleryItem :
    DataViewItem
Public Class ImageGalleryItem
    Inherits 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