Skip to main content

DashboardDesigner.DataInspectorFormClosing Event

Occurs before the Data Inspector window closes. Allows you to access the window’s grid controls.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v22.2.Win.dll


public event DataInspectorFormClosingEventHandler DataInspectorFormClosing

Event Data

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

Property Description
AggregatedDataGrid Provides access to the Grid control that displays aggregated data in the Data Inspector dialog.
DashboardItemName Gets the name of the dashboard item for which the event is raised.
RawDataGrid Provides access to the GridControl that displays raw data in the Data Inspector dialog.


Use the DashboardDesigner.ShowDataInspector method to invoke the Data Inspector window.

When the Data Inspector window opens, the DashboardDesigner.DataInspectorFormLoad event occurs.

This example shows how to handle the DataInspectorFormLoadand DataInspectorFormClosing events to get access to the Grid controls in the Data Inspector window and change the grid settings.

[!example[How to Customize the Data Inspector Dialog](

See Also