WebPartEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for the WebPartAdded, WebPartDeleted, WebPartClosed, WebPartMoved, and SelectedWebPartChanged events.
public ref class WebPartEventArgs : EventArgs
public class WebPartEventArgs : EventArgs
type WebPartEventArgs = class
inherit EventArgs
Public Class WebPartEventArgs
Inherits EventArgs
- Inheritance
Remarks
The WebPartEventArgs class contains information for several different Web Parts events. These events include the WebPartAdded, WebPartDeleted, WebPartClosed, WebPartMoved, and SelectedWebPartChanged events. The WebPartEventArgs class provides access to the Web Parts control involved in the event. The Web Parts control is accessed through the WebPart property.
Constructors
WebPartEventArgs(WebPart) |
Initializes a new instance of the WebPartEventArgs class. |
Properties
WebPart |
Gets the Web Parts control involved in the event. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |