Редагувати

Поділитися через


WebPartDisplayModeEventArgs Class

Definition

Provides data for the DisplayModeChanged event.

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

Remarks

The WebPartDisplayModeEventArgs class contains information for the DisplayModeChanged event. The WebPartDisplayModeEventArgs class provides access to the display mode that was applied to the Web Parts control before the DisplayModeChanged event. The former display mode is accessed through the OldDisplayMode property.

Constructors

WebPartDisplayModeEventArgs(WebPartDisplayMode)

Initializes a new instance of the WebPartDisplayModeEventArgs class.

Properties

OldDisplayMode

Gets or sets the former display mode for a Web Part control.

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