IDesignerLoaderHost IDesignerLoaderHost IDesignerLoaderHost IDesignerLoaderHost Interface

Definition

Provides an interface that can extend a designer host to support loading from a serialized state.

public interface class IDesignerLoaderHost : IServiceProvider, System::ComponentModel::Design::IDesignerHost
public interface IDesignerLoaderHost : IServiceProvider, System.ComponentModel.Design.IDesignerHost
type IDesignerLoaderHost = interface
    interface IDesignerHost
    interface IServiceContainer
    interface IServiceProvider
Public Interface IDesignerLoaderHost
Implements IDesignerHost, IServiceProvider
Derived
Implements

Remarks

An IDesignerHost can implement this interface to enable support for loading by a DesignerLoader.

The designer loader informs the designer host that it needs to invoke a load or reload so that the designer host can perform additional tasks at these times.

This class is isolated from IDesignerHost to emphasize that the designer loader, not the designer host, must initiate all loading and reloading of the design document.

Methods

Activate() Activate() Activate() Activate()

Activates the designer that this host is hosting.

(Inherited from IDesignerHost)
AddService(Type, Object) AddService(Type, Object) AddService(Type, Object) AddService(Type, Object)

Adds the specified service to the service container.

(Inherited from IServiceContainer)
AddService(Type, Object, Boolean) AddService(Type, Object, Boolean) AddService(Type, Object, Boolean) AddService(Type, Object, Boolean)

Adds the specified service to the service container, and optionally promotes the service to any parent service containers.

(Inherited from IServiceContainer)
AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback)

Adds the specified service to the service container.

(Inherited from IServiceContainer)
AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean)

Adds the specified service to the service container, and optionally promotes the service to parent service containers.

(Inherited from IServiceContainer)
CreateComponent(Type) CreateComponent(Type) CreateComponent(Type) CreateComponent(Type)

Creates a component of the specified type and adds it to the design document.

(Inherited from IDesignerHost)
CreateComponent(Type, String) CreateComponent(Type, String) CreateComponent(Type, String) CreateComponent(Type, String)

Creates a component of the specified type and name, and adds it to the design document.

(Inherited from IDesignerHost)
CreateTransaction() CreateTransaction() CreateTransaction() CreateTransaction()

Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality.

(Inherited from IDesignerHost)
CreateTransaction(String) CreateTransaction(String) CreateTransaction(String) CreateTransaction(String)

Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality, using the specified transaction description.

(Inherited from IDesignerHost)
DestroyComponent(IComponent) DestroyComponent(IComponent) DestroyComponent(IComponent) DestroyComponent(IComponent)

Destroys the specified component and removes it from the designer container.

(Inherited from IDesignerHost)
EndLoad(String, Boolean, ICollection) EndLoad(String, Boolean, ICollection) EndLoad(String, Boolean, ICollection) EndLoad(String, Boolean, ICollection)

Ends the designer loading operation.

GetDesigner(IComponent) GetDesigner(IComponent) GetDesigner(IComponent) GetDesigner(IComponent)

Gets the designer instance that contains the specified component.

(Inherited from IDesignerHost)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Gets the service object of the specified type.

(Inherited from IServiceProvider)
GetType(String) GetType(String) GetType(String) GetType(String)

Gets an instance of the specified, fully qualified type name.

(Inherited from IDesignerHost)
Reload() Reload() Reload() Reload()

Reloads the design document.

RemoveService(Type) RemoveService(Type) RemoveService(Type) RemoveService(Type)

Removes the specified service type from the service container.

(Inherited from IServiceContainer)
RemoveService(Type, Boolean) RemoveService(Type, Boolean) RemoveService(Type, Boolean) RemoveService(Type, Boolean)

Removes the specified service type from the service container, and optionally promotes the service to parent service containers.

(Inherited from IServiceContainer)

Events

Activated Activated Activated Activated

Occurs when this designer is activated.

(Inherited from IDesignerHost)
Deactivated Deactivated Deactivated Deactivated

Occurs when this designer is deactivated.

(Inherited from IDesignerHost)
LoadComplete LoadComplete LoadComplete LoadComplete

Occurs when this designer completes loading its document.

(Inherited from IDesignerHost)
TransactionClosed TransactionClosed TransactionClosed TransactionClosed

Adds an event handler for the TransactionClosed event.

(Inherited from IDesignerHost)
TransactionClosing TransactionClosing TransactionClosing TransactionClosing

Adds an event handler for the TransactionClosing event.

(Inherited from IDesignerHost)
TransactionOpened TransactionOpened TransactionOpened TransactionOpened

Adds an event handler for the TransactionOpened event.

(Inherited from IDesignerHost)
TransactionOpening TransactionOpening TransactionOpening TransactionOpening

Adds an event handler for the TransactionOpening event.

(Inherited from IDesignerHost)

Properties

Container Container Container Container

Gets the container for this designer host.

(Inherited from IDesignerHost)
InTransaction InTransaction InTransaction InTransaction

Gets a value indicating whether the designer host is currently in a transaction.

(Inherited from IDesignerHost)
Loading Loading Loading Loading

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

(Inherited from IDesignerHost)
RootComponent RootComponent RootComponent RootComponent

Gets the instance of the base class used as the root component for the current design.

(Inherited from IDesignerHost)
RootComponentClassName RootComponentClassName RootComponentClassName RootComponentClassName

Gets the fully qualified name of the class being designed.

(Inherited from IDesignerHost)
TransactionDescription TransactionDescription TransactionDescription TransactionDescription

Gets the description of the current transaction.

(Inherited from IDesignerHost)

Applies to

See also