Skip to main content
.NET 6.0+

View.Closed Event

Occurs after the current View is closed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler Closed

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