Occurs after a tab has been bound to a data source.
public event RibbonTabEventHandler TabDataBound
Public Event TabDataBound As RibbonTabEventHandler
The TabDataBound event's data class is RibbonTabEventArgs. The following properties provide information specific to this event:
|Tab||Gets a tab object related to the event.|
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.