WebPartManager.DisplayModeChanged Event
Assembly: System.Web (in system.web.dll)
public: event WebPartDisplayModeEventHandler^ DisplayModeChanged { void add (WebPartDisplayModeEventHandler^ value); void remove (WebPartDisplayModeEventHandler^ value); }
/** @event */ public void add_DisplayModeChanged (WebPartDisplayModeEventHandler value) /** @event */ public void remove_DisplayModeChanged (WebPartDisplayModeEventHandler value)
JScript supports the use of events, but not the declaration of new ones.
Display modes are an integral part of Web Parts applications. When users switch to a different display mode on a Web page, the page will often take on a very different appearance, depending on the purpose of the new display mode. After a display mode has changed, you might want to make certain changes in the user interface (UI), such as hiding or showing certain controls, changing the appearance of selected UI elements, and so on.
Note |
|---|
| For more information on display modes, see Web Parts Page Display Modes. For more information on consuming events, see How to: Consume Events in a Web Forms Application. |
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note