System.Web.UI.WebControls.WebParts.WebPartCancelEventArgs Class

Provides data for the WebPartManager.SelectedWebPartChanging event, WebPartManager.WebPartClosing event, and WebPartManager.WebPartDeleting event.

See Also: WebPartCancelEventArgs Members

Syntax

public class WebPartCancelEventArgs : System.ComponentModel.CancelEventArgs

Remarks

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.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0