Editare

Partajați prin


WebPartEventArgs Class

Definition

public ref class WebPartEventArgs : EventArgs
public class WebPartEventArgs : EventArgs
type WebPartEventArgs = class
    inherit EventArgs
Public Class WebPartEventArgs
Inherits EventArgs
Inheritance
WebPartEventArgs

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)

Applies to