IDesignerLoaderHost2 Members
Collapse the table of content
Expand the table of content

IDesignerLoaderHost2 Members

Visual Studio 2008

Provides an interface that extends IDesignerLoaderHost to specify whether errors are tolerated while loading a design document.

The IDesignerLoaderHost2 type exposes the following members.

Public method Activate Activates the designer that this host is hosting. (Inherited from IDesignerHost.)
Public method AddService Overloaded. Adds the specified service to the service container.
Public method CreateComponent Overloaded. Creates a component of the specified type and adds it to the design document.
Public method CreateTransaction Overloaded. Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality.
Public method DestroyComponent Destroys the specified component and removes it from the designer container. (Inherited from IDesignerHost.)
Public method EndLoad Ends the designer loading operation. (Inherited from IDesignerLoaderHost.)
Public method GetDesigner Gets the designer instance that contains the specified component. (Inherited from IDesignerHost.)
Public method GetService Gets the service object of the specified type. (Inherited from IServiceProvider.)
Public method GetType Gets an instance of the specified, fully qualified type name. (Inherited from IDesignerHost.)
Public method Reload Reloads the design document. (Inherited from IDesignerLoaderHost.)
Public method RemoveService Overloaded. Removes the specified service type from the service container.

Public property CanReloadWithErrors Gets or sets a value indicating whether it is possible to reload with errors.
Public property Container Gets the container for this designer host. (Inherited from IDesignerHost.)
Public property IgnoreErrorsDuringReload Gets or sets a value indicating whether errors should be ignored when Reload is called.
Public property InTransaction Gets a value indicating whether the designer host is currently in a transaction. (Inherited from IDesignerHost.)
Public property Loading Gets a value indicating whether the designer host is currently loading the document. (Inherited from IDesignerHost.)
Public property RootComponent Gets the instance of the base class used as the root component for the current design. (Inherited from IDesignerHost.)
Public property RootComponentClassName Gets the fully qualified name of the class being designed. (Inherited from IDesignerHost.)
Public property TransactionDescription Gets the description of the current transaction. (Inherited from IDesignerHost.)

Public event Activated Occurs when this designer is activated. (Inherited from IDesignerHost.)
Public event Deactivated Occurs when this designer is deactivated. (Inherited from IDesignerHost.)
Public event LoadComplete Occurs when this designer completes loading its document. (Inherited from IDesignerHost.)
Public event TransactionClosed Adds an event handler for the TransactionClosed event. (Inherited from IDesignerHost.)
Public event TransactionClosing Adds an event handler for the TransactionClosing event. (Inherited from IDesignerHost.)
Public event TransactionOpened Adds an event handler for the TransactionOpened event. (Inherited from IDesignerHost.)
Public event TransactionOpening Adds an event handler for the TransactionOpening event. (Inherited from IDesignerHost.)

Community Additions

© 2016 Microsoft