Back to Devexpress

ASPxRibbon.TabDataBound Event

aspnet-devexpress-dot-web-dot-aspxribbon-352199d8.md

latest2.0 KB
Original Source

ASPxRibbon.TabDataBound Event

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event RibbonTabEventHandler TabDataBound
vb
Public Event TabDataBound As RibbonTabEventHandler

Event Data

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

PropertyDescription
TabGets 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

Ribbon

GroupDataBound

ItemDataBound

ASPxRibbon Class

ASPxRibbon Members

DevExpress.Web Namespace