Back to Devexpress

ASPxImageSlider.ItemDataBound Event

aspnet-devexpress-dot-web-dot-aspximageslider-793ba304.md

latest1.9 KB
Original Source

ASPxImageSlider.ItemDataBound Event

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ImageSliderItemEventHandler ItemDataBound
vb
Public Event ItemDataBound As ImageSliderItemEventHandler

Event Data

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

PropertyDescription
ItemGets an item object related to the event.

Remarks

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

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

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

See Also

ASPxImageSlider Class

ASPxImageSlider Members

DevExpress.Web Namespace