Skip to main content

RibbonSettings.TabDataBound Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public RibbonTabEventHandler TabDataBound { get; set; }

Property Value

Type Description
RibbonTabEventHandler

A RibbonTabEventHandler delegate method allowing you to implement custom processing.

Remarks

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

The processed tab can be accessed using the RibbonTabEventArgs.Tab property of the event’s argument.

If Ribbon functions in unbound mode, the TabDataBound event isn’t raised.

See Also