Export (0) Print
Expand All

IDesignerLoaderHost Interface

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

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public interface IDesignerLoaderHost : IDesignerHost, 
	IServiceContainer, IServiceProvider

The IDesignerLoaderHost type exposes the following members.

  NameDescription
Public propertyContainerGets the container for this designer host. (Inherited from IDesignerHost.)
Public propertyInTransactionGets a value indicating whether the designer host is currently in a transaction. (Inherited from IDesignerHost.)
Public propertyLoadingGets a value indicating whether the designer host is currently loading the document. (Inherited from IDesignerHost.)
Public propertyRootComponentGets the instance of the base class used as the root component for the current design. (Inherited from IDesignerHost.)
Public propertyRootComponentClassNameGets the fully qualified name of the class being designed. (Inherited from IDesignerHost.)
Public propertyTransactionDescriptionGets the description of the current transaction. (Inherited from IDesignerHost.)
Top

  NameDescription
Public methodActivateActivates the designer that this host is hosting. (Inherited from IDesignerHost.)
Public methodAddService(Type, ServiceCreatorCallback)Adds the specified service to the service container. (Inherited from IServiceContainer.)
Public methodAddService(Type, Object)Adds the specified service to the service container. (Inherited from IServiceContainer.)
Public methodAddService(Type, ServiceCreatorCallback, Boolean)Adds the specified service to the service container, and optionally promotes the service to parent service containers. (Inherited from IServiceContainer.)
Public methodAddService(Type, Object, Boolean)Adds the specified service to the service container, and optionally promotes the service to any parent service containers. (Inherited from IServiceContainer.)
Public methodCreateComponent(Type)Creates a component of the specified type and adds it to the design document. (Inherited from IDesignerHost.)
Public methodCreateComponent(Type, String)Creates a component of the specified type and name, and adds it to the design document. (Inherited from IDesignerHost.)
Public methodCreateTransaction()Creates a DesignerTransaction that can encapsulate event sequences to improve performance and enable undo and redo support functionality. (Inherited from IDesignerHost.)
Public methodCreateTransaction(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.)
Public methodDestroyComponentDestroys the specified component and removes it from the designer container. (Inherited from IDesignerHost.)
Public methodEndLoadEnds the designer loading operation.
Public methodGetDesignerGets the designer instance that contains the specified component. (Inherited from IDesignerHost.)
Public methodGetServiceGets the service object of the specified type. (Inherited from IServiceProvider.)
Public methodGetTypeGets an instance of the specified, fully qualified type name. (Inherited from IDesignerHost.)
Public methodReloadReloads the design document.
Public methodRemoveService(Type)Removes the specified service type from the service container. (Inherited from IServiceContainer.)
Public methodRemoveService(Type, Boolean)Removes the specified service type from the service container, and optionally promotes the service to parent service containers. (Inherited from IServiceContainer.)
Top

  NameDescription
Public eventActivatedOccurs when this designer is activated. (Inherited from IDesignerHost.)
Public eventDeactivatedOccurs when this designer is deactivated. (Inherited from IDesignerHost.)
Public eventLoadCompleteOccurs when this designer completes loading its document. (Inherited from IDesignerHost.)
Public eventTransactionClosedAdds an event handler for the TransactionClosed event. (Inherited from IDesignerHost.)
Public eventTransactionClosingAdds an event handler for the TransactionClosing event. (Inherited from IDesignerHost.)
Public eventTransactionOpenedAdds an event handler for the TransactionOpened event. (Inherited from IDesignerHost.)
Public eventTransactionOpeningAdds an event handler for the TransactionOpening event. (Inherited from IDesignerHost.)
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft