This documentation is archived and is not being maintained.

IDesignerEventService.ActiveDesignerChanged Event

Occurs when the current root designer changes.

[Visual Basic]
Event ActiveDesignerChanged As ActiveDesignerEventHandler
event ActiveDesignerEventHandler ActiveDesignerChanged;
__event ActiveDesignerEventHandler* ActiveDesignerChanged;

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

Event Data

The event handler receives an argument of type ActiveDesignerEventArgs containing data related to this event. The following ActiveDesignerEventArgs properties provide information specific to this event.

Property Description
NewDesigner Gets the document that is gaining activation.
OldDesigner Gets the document that is losing activation.


This event can result from the user opening or setting focus to a new document, or by closing a document.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerEventService Interface | IDesignerEventService Members | System.ComponentModel.Design Namespace | ActiveDesignerEventHandler | ActiveDesignerEventArgs