Enables derived classes to provide custom handling when a System.Web.UI.WebControls.WebParts.WebPart control is closed on a Web Parts page.
- e
An EventArgs that contains the event data.
The method in the System.Web.UI.WebControls.WebParts.WebPart base class contains no implementation. Derived System.Web.UI.WebControls.WebParts.WebPart controls can override the method if needed to provide custom handling when the control is closed. The System.Web.UI.WebControls.WebParts.WebPartManager control automatically invokes the WebPart.OnClosing(EventArgs) method if you provide an implementation in a derived class.