.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View.Closed Event

Occurs after the current View is closed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public event EventHandler Closed
Public Event Closed As EventHandler

Event Data

The Closed event's data class is EventArgs.

Remarks

This event occurs in the following cases:

  • In a Windows Forms appliction, when a Window that contains the current View is closed.
  • In any application, when the current View is replaced by another View.
  • In any application, when the Delete, Cancel or SaveAndClose Action is executed for the current Detail View.

Handle this event if you need to execute custom code after a View has been closed.

See Also