BasicDesignerLoader Class
Provides an implementation of the IDesignerLoaderService interface.
System.ComponentModel.Design.Serialization::DesignerLoader
System.ComponentModel.Design.Serialization::BasicDesignerLoader
System.ComponentModel.Design.Serialization::CodeDomDesignerLoader
System.Workflow.ComponentModel.Design::WorkflowDesignerLoader
Assembly: System.Design (in System.Design.dll)
The BasicDesignerLoader type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | LoaderHost | Gets the loader host. |
![]() | Loading | Gets a value indicating whether the designer loader is loading the design surface. (Overrides DesignerLoader::Loading.) |
![]() | Modified | Gets or sets a value indicating whether the designer has been modified. |
![]() | PropertyProvider | Gets or sets the property provider for the serialization manager being used by the loader. |
![]() | ReloadPending | Gets a value indicating whether a reload has been queued. |
| Name | Description | |
|---|---|---|
![]() | BeginLoad | Starts the loading process. (Overrides DesignerLoader::BeginLoad(IDesignerLoaderHost).) |
![]() | Dispose | Releases the resources used by the BasicDesignerLoader. (Overrides DesignerLoader::Dispose().) |
![]() | EnableComponentNotification | Enables or disables component notification with the DesignerLoader. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Flush | Flushes pending changes to the designer loader. (Overrides DesignerLoader::Flush().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetService | Gets the requested service. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Initializes services. |
![]() | IsReloadNeeded | Indicates whether the designer should be reloaded. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnBeginLoad | Notifies the designer loader that loading is about to begin. |
![]() | OnBeginUnload | Notifies the designer loader that unloading is about to begin. |
![]() | OnEndLoad | Notifies the designer loader that loading is complete. |
![]() | OnModifying | Notifies the designer loader that the state of the document is about to be modified. |
![]() | PerformFlush | Flushes all changes to the designer. |
![]() | PerformLoad | Loads a designer from persistence. |
![]() | Reload | Queues a reload of the designer. |
![]() | ReportFlushErrors | Reports errors that occurred while flushing changes. |
![]() | SetBaseComponentClassName | Sets the full class name of the base component. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDesignerLoaderService::AddLoadDependency | Registers an external component as part of the load process managed by IDesignerLoaderService. |
![]() ![]() | IDesignerLoaderService::DependentLoadComplete | Signals that a dependent load has finished. |
![]() ![]() | IDesignerLoaderService::Reload | Reloads the design document. |
A BasicDesignerLoader is a complete implementation of a designer loader without anything relating to a persistence format. A BasicDesignerLoader does not dictate either a text or binary persistence, but it does support the following features:
Multiple load dependencies.
Tracking changes within the designer.
Deferred idle-time reloading.
A BasicDesignerLoader adds two kinds of services to the designer host’s service container: replaceable services and irreplaceable services. You can replace a replaceable service by changing the value of the protected LoaderHost property. You cannot replace irreplaceable services because their implementations depend on each other.
The following table describes the services that are provided by default.
Default Service | Description |
|---|---|
Allows objects to request that the designer reload itself when it is idle. This is a replaceable service. | |
Used to serialize and deserialize objects. The serialization manager is added as a service so objects that need to perform serialization can utilize any serialization providers that were added to the serialization manager. This is an irreplaceable service. |
- NamedPermissionSet
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state: FullTrust
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
