Tab

ASPxRibbon.TabDataBound Event

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public event RibbonTabEventHandler TabDataBound

Event Data

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

Property Description
Tab Gets a tab object related to the event.

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 control’s tabs to the required data fields.

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

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

See Also