Skip to main content

ImageGallerySettings.ItemDataBound Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5


public ImageGalleryItemEventHandler ItemDataBound { get; set; }

Property Value

Type Description

An ImageGalleryItemEventHandler method to which custom processing is delegated.


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 an extension’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 extension functions in unbound mode, the ItemDataBound event isn’t raised.

See Also