Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

View.Closed Event

Occurs after the current View is closed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.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