Rediger

Del via


WebPartDisplayModeCancelEventArgs Class

Definition

Provides data for the DisplayModeChanging cancelable event.

public ref class WebPartDisplayModeCancelEventArgs : System::ComponentModel::CancelEventArgs
public class WebPartDisplayModeCancelEventArgs : System.ComponentModel.CancelEventArgs
type WebPartDisplayModeCancelEventArgs = class
    inherit CancelEventArgs
Public Class WebPartDisplayModeCancelEventArgs
Inherits CancelEventArgs
Inheritance
WebPartDisplayModeCancelEventArgs

Remarks

The WebPartDisplayModeCancelEventArgs class contains information for the DisplayModeChanging event. The WebPartEventArgs class provides access to the display mode that will be applied to the Web Parts control. The display mode is accessed through the NewDisplayMode property.

Constructors

WebPartDisplayModeCancelEventArgs(WebPartDisplayMode)

Initializes a new instance of the WebPartDisplayModeCancelEventArgs class.

Properties

Cancel

Gets or sets a value indicating whether the event should be canceled.

(Inherited from CancelEventArgs)
NewDisplayMode

Gets or sets the display mode to apply to a Web Parts 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