Allows you to access underlying UI/Data Visualization widgets.
public event ASPxClientDashboardItemBeforeWidgetDisposedEventHandler ItemBeforeWidgetDisposed
Public Event ItemBeforeWidgetDisposed As ASPxClientDashboardItemBeforeWidgetDisposedEventHandler
The ItemBeforeWidgetDisposed event handler receives an argument of the ASPxClientDashboardItemWidgetEventArgs type. The following properties provide information specific to this event.
|ItemName||Gets the component name of the dashboard item for which the event was raised.|
The Web Viewer uses DevExtreme UI widgets to visualize data within dashboard items. The ASPxClientDashboardViewer.ItemWidgetCreated event allows you to access these widgets and customize their settings if necessary.
Use the ASPxClientDashboardItemWidgetEventArgs.GetWidget method to access the corresponding underlying widget. You can change the widget's setting or handle its events. To unsubscribe from widget events, handle the ItemBeforeWidgetDisposed event.
To learn more, see Access to Underlying Widgets.