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 Members

Properties

Loading Gets or sets a value indicating whether the designer host is currently loading the document.

Methods

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.

Events

AfterBatchOperation Occurs when all BeginBatchOperation calls are matched with EndBatchOperation calls.
BatchOperation Occurs at the starting and ending points of a batch operation.
BeforeBatchOperation Occurs before a batch operation is to begin.
CodeLoaded Occurs after the code is parsed.
CodeUnloaded Occurs before the code is unloaded.
DocumentActivate Occurs when this designer host's document becomes the active document in the environment.
DocumentDeactivate Occurs when this designer host's document is no longer the active document in the environment.

Event Hookup:

Methods

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