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!

IDesignerHost Methods

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

ActivateDesigner Activates the designer that this host is hosting.
AddService Adds a service to the host.
BeginBatchOperation Overloaded. Begins a lengthy operation that usually raises multiple notifications.
CreateComponent Overloaded. Creates a component of the specified class type.
DestroyComponent Destroys the given component, removing it from the design container.
EndBatchOperation Ends a lengthy operation.
GetBaseComponent Gets the instance of the base class used as the base class for the current design.
GetBaseComponentClassName Gets the fully qualified name of the class that is being designed.
GetBatchOperationDescription Gets the description of the current batch operation.
GetContainer Gets the container for this designer host.
GetDesigner Gets the designer instance for the specified component.
GetType Overloaded. Gets an instance of the type.
Reload Causes the entire document to reload.
RemoveService Removes a service from the host.
SetBaseComponentClassName Sets the class name of the fully qualified class that is being designed.

Event Hookup:

AddOnAfterBatchOperation Adds an event handler for the System.ComponentModel.Design.IDesignerHost.AfterBatchOperation event.
AddOnBatchOperation Adds an event handler for the System.ComponentModel.Design.IDesignerHost.BatchOperation event.
AddOnBeforeBatchOperation Adds an event handler for the System.ComponentModel.Design.IDesignerHost.BeforeBatchOperation event.
AddOnCodeLoaded Adds an event handler for the System.ComponentModel.Design.IDesignerHost.CodeLoaded event.
AddOnCodeUnloaded Adds an event handler for the System.ComponentModel.Design.IDesignerHost.CodeUnloaded event.
AddOnDocumentActivate Adds an event handler for the System.ComponentModel.Design.IDesignerHost.DocumentActivate event.
AddOnDocumentDeactivate Adds an event handler for the System.ComponentModel.Design.IDesignerHost.DocumentDeactivate event.
RemoveOnAfterBatchOperation Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.AfterBatchOperation event.
RemoveOnBatchOperation Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.BatchOperation event.
RemoveOnBeforeBatchOperation Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.BeforeBatchOperation event.
RemoveOnCodeLoaded Removes an event handler that has been associated with the the System.ComponentModel.Design.IDesignerHost.CodeLoaded event.
RemoveOnCodeUnloaded Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.CodeUnloaded event.
RemoveOnDocumentActivate Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.DocumentActivated event.
RemoveOnDocumentDeactivate Removes an event handler that has been associated with the System.ComponentModel.Design.IDesignerHost.DocumentDeactivated event.

See Also

IDesignerHost Interface | System.ComponentModel.Design Namespace