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 Methods

The methods of the IDesignerEventService interface are listed below. For a complete list of IDesignerEventService interface members, see the IDesignerEventService Members topic.

GetActiveDocument Gets the currently active document.

Event Hookup:

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