Back to Devexpress

DashboardDesigner.DataInspectorFormClosing Event

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-59556d83.md

latest2.8 KB
Original Source

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.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public event DataInspectorFormClosingEventHandler DataInspectorFormClosing
vb
Public Event DataInspectorFormClosing As DataInspectorFormClosingEventHandler

Event Data

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

PropertyDescription
AggregatedDataGridProvides access to the Grid control that displays aggregated data in the Data Inspector dialog.
DashboardItemNameGets the name of the dashboard item for which the event is raised.
RawDataGridProvides access to the GridControl that displays raw data in the Data Inspector dialog.

Remarks

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](https://github.com/DevExpress-Exampl

Implements

DataInspectorFormClosing

See Also

Data Inspector

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace