System.Web.UI.WebControls.WebParts.WebPartEventArgs Class

Provides data for the WebPartManager.WebPartAdded, WebPartManager.WebPartDeleted, WebPartManager.WebPartClosed, WebPartManager.WebPartMoved, and WebPartManager.SelectedWebPartChanged events.

See Also: WebPartEventArgs Members

Syntax

public class WebPartEventArgs : EventArgs

Remarks

The System.Web.UI.WebControls.WebParts.WebPartEventArgs class contains information for several different Web Parts events. These events include the WebPartManager.WebPartAdded, WebPartManager.WebPartDeleted, WebPartManager.WebPartClosed, WebPartManager.WebPartMoved, and WebPartManager.SelectedWebPartChanged events. The System.Web.UI.WebControls.WebParts.WebPartEventArgs class provides access to the Web Parts control involved in the event. The Web Parts control is accessed through the WebPartEventArgs.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