RibbonSettings.ItemDataBound Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public RibbonItemEventHandler ItemDataBound { get; set; }
Public Property ItemDataBound As RibbonItemEventHandler

Property Value

Type Description
RibbonItemEventHandler

A RibbonItemEventHandler delegate method allowing you to implement custom processing.

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

See Also