Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft