Provides data for the WebPartManager.SelectedWebPartChanging event, WebPartManager.WebPartClosing event, and WebPartManager.WebPartDeleting event.
See Also: WebPartCancelEventArgs Members
The System.Web.UI.WebControls.WebParts.WebPartCancelEventArgs class contains information for several different Web Parts events that can be canceled. These events include the WebPartManager.SelectedWebPartChanging, WebPartManager.WebPartClosing, and WebPartManager.WebPartDeleting events. The System.Web.UI.WebControls.WebParts.WebPartCancelEventArgs class provides access to the Web Parts control involved in the event. The Web Parts control is accessed through the WebPartCancelEventArgs.WebPart property.