System.ComponentModel.Design.Serialization.DesignerLoader Class

Provides a basic designer loader interface that can be used to implement a custom designer loader.

See Also: DesignerLoader Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public abstract class DesignerLoader

Remarks

System.ComponentModel.Design.Serialization.DesignerLoader can be implemented to support custom loading of a designer and designer components. A designer loader is also responsible for writing changes to an open document back to the storage the loader used when loading the document after the DesignerLoader.Flush method is called.

By default, the Visual Studio development environment creates its own variety of System.ComponentModel.Design.Serialization.DesignerLoader that can load basic designer projects. To create a custom designer loader, you must inherit from and implement the abstract System.ComponentModel.Design.Serialization.DesignerLoader class. You cannot directly instantiate System.ComponentModel.Design.Serialization.DesignerLoader, as it has no public constructor.

When DesignerLoader.BeginLoad(IDesignerLoaderHost) is invoked, the designer loader loads the design document, displays the designer surface using the System.ComponentModel.Design.IDesignerHost interface, and calls IDesignerLoaderHost.EndLoad(string, bool, ICollection) on the System.ComponentModel.Design.Serialization.IDesignerLoaderHost interface when done. The System.ComponentModel.Design.Serialization.IDesignerLoaderHost implementation is usually the same class that implements System.ComponentModel.Design.IDesignerHost.

Requirements

Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0