Allows you to access underlying WinForms controls.
public event DashboardItemBeforeControlDisposedEventHandler DashboardItemBeforeControlDisposed
Public Event DashboardItemBeforeControlDisposed As DashboardItemBeforeControlDisposedEventHandler
The DashboardItemBeforeControlDisposed event handler receives an argument of the DashboardItemControlEventArgs type. The following properties provide information specific to this event.
|CardControl||Gets an underlying Card control.|
|ChartControl||Gets an underlying chart control.|
|DashboardItemName||Gets the component name of the dashboard item for which the event was raised.|
|DateFilterControl||Gets an underlying date filter control.|
|GaugeControl||Gets an underlying gauge control.|
|GridControl||Gets an underlying grid control.|
|MapControl||Gets an underlying map control.|
|PictureEdit||Gets an underlying picture edit control.|
|PivotGridControl||Gets an underlying PivotGridControl.|
|RichEditControl||Gets an underlying RichEdit control.|
|TreeMapControl||Gets an underlying TreeMap control.|
The DashboardDesigner uses DevExpress WinForms controls to visualize data within dashboard items. The DashboardDesigner.DashboardItemControlUpdated event allows you to access these controls and customize their settings if necessary.
The DashboardItemControlEventArgs.DashboardItemName property returns the component name of the dashboard item to be customized. Use the following properties to access the corresponding underlying controls.
You can change the control setting or handle its events. To subscribe/unsubscribe from control events, use the DashboardDesigner.DashboardItemControlCreated/DashboardItemBeforeControlDisposed events, respectively.