Skip to main content

BootstrapTabControl.TabDataBound Event

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public event BootstrapTabControlEventHandler TabDataBound

Event Data

The TabDataBound event's data class is BootstrapTabControlEventArgs. 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’s data is 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 correctly you can, for example, implement a custom logic to dynamically map properties of a tab control’s tabs to the required data fields.

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

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

See Also