ActiveDesignerChanged Event
Collapse the table of content
Expand the table of content

IDesignerEventService.ActiveDesignerChanged Event

Occurs when the current root designer changes.

[Visual Basic]
Event ActiveDesignerChanged As ActiveDesignerEventHandler
[C#]
event ActiveDesignerEventHandler ActiveDesignerChanged;
[C++]
__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.

Remarks

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

Requirements

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

Show:
© 2016 Microsoft