Allows you to access underlying WinForms controls.
public event DashboardItemBeforeControlDisposedEventHandler DashboardItemBeforeControlDisposed
Public Event DashboardItemBeforeControlDisposed As DashboardItemBeforeControlDisposedEventHandler
The DashboardItemBeforeControlDisposed event's data class is DashboardItemControlEventArgs. The following properties provide information specific to this event:
|CardControl||Gets an underlying Card control.|
|ChartContext||Gets the chart context.|
|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.|
|GaugeContext||Gets the gauge context.|
|GaugeControl||Gets an underlying gauge control.|
|GridContext||Gets the grid context.|
|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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardItemBeforeControlDisposed event.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.