Skip to main content

ASPxImageGallery.ItemDataBound Event

Occurs after an item has been bound to a data source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public event ImageGalleryItemEventHandler ItemDataBound

Event Data

The ItemDataBound event's data class is ImageGalleryItemEventArgs. The following properties provide information specific to this event:

Property Description
Item Gets an item object related to the event.


The ItemDataBound event is raised for each item after it’s data is bound to the corresponding data from the specified data source. This event enables you to customize settings of the related item before it is finally rendered. Handling the ItemDataBound event correctly, you can implement custom logic to dynamically map properties of a control’s items to the required data fields.

The processed item can be accessed by using the ImageGalleryItemEventArgs.Item property of the event’s argument.

If the control functions in unbound mode, the ItemDataBound event isn’t raised.

See Also