ASPxRibbon.TabDataBound Event
Occurs after a tab has been bound to a data source.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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.