NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDesignerEventService Members

Properties

Documents Gets or sets a collection of running design documents in the development environment.

Methods

GetActiveDocument Gets the currently active document.

Events

ActiveDocumentChanged Occurs when the currently active document changes.
DocumentCreated Occurs when a document is created.
DocumentDisposed Occurs when a document is disposed.
SelectionChanged Occurs when the global selection changes.

Event Hookup:

Methods

AddOnActiveDocumentChanged Adds an event that will be raised when the currently active document changes.
AddOnDocumentCreated Adds a handler to the document created event.
AddOnDocumentDisposed Adds a handler to the document disposed event.
AddOnSelectionChanged Adds an event that will be fired when the global selection changes.
RemoveOnActiveDocumentChanged Removes a previously added event handler.
RemoveOnDocumentCreated Removes a previously added event handler.
RemoveOnDocumentDisposed Removes a previously added event handler.
RemoveOnSelectionChanged Removes a previously added event handler.

See Also

IDesignerEventService Interface | System.ComponentModel.Design Namespace