WebPartDisplayModeEventArgs 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 DisplayModeChanged event.
public ref class WebPartDisplayModeEventArgs : EventArgs
public class WebPartDisplayModeEventArgs : EventArgs
type WebPartDisplayModeEventArgs = class
inherit EventArgs
Public Class WebPartDisplayModeEventArgs
Inherits EventArgs
- Inheritance
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) |