This documentation is archived and is not being maintained.

IControlDesignerView.ViewEvent Event

An event raised by the design host for the view and designer component.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

event ViewEventHandler ViewEvent
/** @event */
void add_ViewEvent (ViewEventHandler value)

/** @event */
void remove_ViewEvent (ViewEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

The ViewEvent is raised by the design host if any of the following occur:

  • The user clicks on the view in the design host,

  • The design host repaints the client region on the design surface,

  • The user has elected to change the editing mode of an editable region corresponding to a template.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: