WebPartDisplayModeEventArgs WebPartDisplayModeEventArgs WebPartDisplayModeEventArgs 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
WebPartDisplayModeEventArgsWebPartDisplayModeEventArgsWebPartDisplayModeEventArgsWebPartDisplayModeEventArgs

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) WebPartDisplayModeEventArgs(WebPartDisplayMode) WebPartDisplayModeEventArgs(WebPartDisplayMode) WebPartDisplayModeEventArgs(WebPartDisplayMode)

Initializes a new instance of the WebPartDisplayModeEventArgs class.

Properties

OldDisplayMode OldDisplayMode OldDisplayMode OldDisplayMode

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to