Back to Devexpress

GridControl.ViewRemoved Event

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-d287daf4.md

latest2.3 KB
Original Source

GridControl.ViewRemoved Event

Fires when a detail clone is being disposed of.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Grid")]
public event ViewOperationEventHandler ViewRemoved
vb
<DXCategory("Grid")>
Public Event ViewRemoved As ViewOperationEventHandler

Event Data

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

PropertyDescription
ViewGets the currently processed View.

Remarks

This is a notification event. It fires when a detail clone is being destroyed. So, the event’s View parameter refers to the object being disposed. Do not perform any action on the View, as this may produce incorrect results or even exceptions.

See Also

MasterRowCollapsed

MasterRowCollapsing

SetMasterRowExpanded

SetMasterRowExpandedEx(Int32, Int32, Boolean)

Views

ViewRegistered

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace