Skip to main content

GalleryThumbnailImageEventArgs Members

Provides data for the BaseGallery.GetThumbnailImage event.

Constructors

Name Description
GalleryThumbnailImageEventArgs(GalleryItem, Int32, AsyncImageLoader, ImageLoadInfo) Initializes a new instance of the GalleryThumbnailImageEventArgs class with the specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
DataSourceIndex Gets the index of the currently processed item among other items in the source (the item’s index in the bound data source for data-aware controls, e.g., GridControl). Inherited from ThumbnailImageEventArgs.
DesiredThumbnailSize Stores the desired size of thumbnail images, generated using the ThumbnailImageEventArgs.CreateThumbnailImage method. Inherited from ThumbnailImageEventArgs.
Item Gets the currently processed item.
ThumbnailImage Gets or sets the image that will be assigned to an item that fired this event. Inherited from ThumbnailImageEventArgs.

Methods

Name Description
CreateThumbnailImage(Image, Size) Creates a thumbnail image of the specific size. This image will be later assigned to an item that supports the asynchronous image load feature. Inherited from ThumbnailImageEventArgs.
CreateThumbnailImage(Image) Creates a thumbnail image that will be assigned to an item that supports the asynchronous image load feature. Inherited from ThumbnailImageEventArgs.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetImageCache()
ToString() Returns a string that represents the current object. Inherited from Object.
See Also