Back to Devexpress

ASPxRibbon.ItemDataBound Event

aspnet-devexpress-dot-web-dot-aspxribbon-b93bd7f5.md

latest2.1 KB
Original Source

ASPxRibbon.ItemDataBound Event

Occurs after an 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 RibbonItemEventHandler ItemDataBound
vb
Public Event ItemDataBound As RibbonItemEventHandler

Event Data

The ItemDataBound event's data class is RibbonItemEventArgs. 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 item after it is data 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, you can implement custom logic to dynamically map properties of a ribbon control’s items to the required data fields.

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

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

See Also

Ribbon

GroupDataBound

TabDataBound

ASPxRibbon Class

ASPxRibbon Members

DevExpress.Web Namespace