Back to Devexpress

ImageGalleryItem Class

aspnet-devexpress-dot-web-fd5afadb.md

latest5.0 KB
Original Source

ImageGalleryItem Class

An individual item within the image gallery control.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class ImageGalleryItem :
    DataViewItem
vb
Public Class ImageGalleryItem
    Inherits DataViewItem

The following members return ImageGalleryItem objects:

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.

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem DataViewItem ImageGalleryItem MVCxImageGalleryItem

See Also

ImageGalleryItem Members

Image Gallery

DevExpress.Web Namespace