WorkflowDesignerLoader Class
Provides common designer loader functionality that can be used to implement custom workflow designer loaders.
System.ComponentModel.Design.Serialization::DesignerLoader
System.ComponentModel.Design.Serialization::BasicDesignerLoader
System.Workflow.ComponentModel.Design::WorkflowDesignerLoader
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
The WorkflowDesignerLoader type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WorkflowDesignerLoader | When implemented in a derived class, initializes a new instance of the WorkflowDesignerLoader class. |
| Name | Description | |
|---|---|---|
![]() | FileName | When overridden in a derived class, gets the file name of the designer to load. |
![]() | InDebugMode | Gets a value that indicates whether the workflow should be loaded in debug mode. |
![]() | LoaderHost | Gets the loader host. (Inherited from BasicDesignerLoader.) |
![]() | Loading | Gets a value indicating whether the designer loader is loading the design surface. (Inherited from BasicDesignerLoader.) |
![]() | Modified | Gets or sets a value indicating whether the designer has been modified. (Inherited from BasicDesignerLoader.) |
![]() | PropertyProvider | Gets or sets the property provider for the serialization manager being used by the loader. (Inherited from BasicDesignerLoader.) |
![]() | ReloadPending | Gets a value indicating whether a reload has been queued. (Inherited from BasicDesignerLoader.) |
![]() | TargetFrameworkTypeDescriptionProvider | Gets the TypeDescriptor metadata of the target .NET Framework. |
| Name | Description | |
|---|---|---|
![]() | AddActivityToDesigner | Adds an activity to the designer host after it has been added to the parent activities collection. |
![]() | BeginLoad | Starts the loading process. (Inherited from BasicDesignerLoader.) |
![]() | Dispose | Releases all resources used by the WorkflowDesignerLoader. (Overrides BasicDesignerLoader::Dispose().) |
![]() | EnableComponentNotification | Enables or disables component notification with the DesignerLoader. (Inherited from BasicDesignerLoader.) |
![]() | 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 | Writes pending changes to the location that the designer was loaded from. (Overrides BasicDesignerLoader::Flush().) |
![]() | ForceReload | When overridden in a derived class, causes WorkflowDesignerLoader to reload the designer. |
![]() | GetFileReader | When overridden in a derived class, retrieves an object that WorkflowDesignerLoader uses to read from the specified file. |
![]() | GetFileWriter | When overridden in a derived class, gets an object that the WorkflowDesignerLoader uses to write to the specified file. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetService | Gets the requested service. (Inherited from BasicDesignerLoader.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Initializes the WorkflowDesignerLoader with any services required by the designer loader host. (Overrides BasicDesignerLoader::Initialize().) |
![]() | IsReloadNeeded | Indicates whether the designer should be reloaded. (Inherited from BasicDesignerLoader.) |
![]() | LoadDesignerLayout | Applies the serialized layout to the root designer in the current designer host. |
![]() | LoadDesignerLayoutFromResource | Retrieves the specified resource and calls the LoadDesignerLayout method that applies the serialized layout to the root designer in the current designer host. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnBeginLoad | Notifies the designer loader that loading is about to begin. (Inherited from BasicDesignerLoader.) |
![]() | OnBeginUnload | Notifies the designer loader that unloading is about to begin. (Inherited from BasicDesignerLoader.) |
![]() | OnEndLoad | Called when loading of the designer is completed. (Overrides BasicDesignerLoader::OnEndLoad(Boolean, ICollection).) |
![]() | OnModifying | Notifies the designer loader that the state of the document is about to be modified. (Inherited from BasicDesignerLoader.) |
![]() | PerformFlush | Writes cached changes to the location that the designer was loaded from. (Overrides BasicDesignerLoader::PerformFlush(IDesignerSerializationManager).) |
![]() | PerformLoad | Loads the designer from a design document. (Overrides BasicDesignerLoader::PerformLoad(IDesignerSerializationManager).) |
![]() | Reload | Queues a reload of the designer. (Inherited from BasicDesignerLoader.) |
![]() | RemoveActivityFromDesigner | Removes an activity from the designer host after it has been added to the parent activities collection. |
![]() | ReportFlushErrors | Reports errors that occurred while flushing changes. (Inherited from BasicDesignerLoader.) |
![]() | SaveDesignerLayout | Serializes the designer layout. |
![]() | SetBaseComponentClassName | Sets the full class name of the base component. (Inherited from BasicDesignerLoader.) |
![]() | 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. (Inherited from BasicDesignerLoader.) |
![]() ![]() | IDesignerLoaderService::DependentLoadComplete | Signals that a dependent load has finished. (Inherited from BasicDesignerLoader.) |
![]() ![]() | IDesignerLoaderService::Reload | Reloads the design document. (Inherited from BasicDesignerLoader.) |
Designer loader classes are used to load the designer and save any changes to the state of the designer when the user so instructs. The WorkflowDesignerLoader class can be implemented to support custom loading of a workflow designer and workflow designer components. A workflow 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 Flush method is called.
Notes to InheritorsWhen you inherit from WorkflowDesignerLoader, you must override the following members: FileName, ForceReload, GetFileReader and GetFileWriter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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.
