IDesignerGlyphProviderService Interface

 
Note: This API is now obsolete.

Allows activity designer developers to add custom glyph providers to an activity designer.

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

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IDesignerGlyphProviderService

NameDescription
System_CAPS_pubpropertyGlyphProviders

Gets a generic read-only collection of designer glyph providers.

NameDescription
System_CAPS_pubmethodAddGlyphProvider(IDesignerGlyphProvider)

Adds a class that implements the IDesignerGlyphProvider interface to the list of glyph providers that an activity designer uses.

System_CAPS_pubmethodRemoveGlyphProvider(IDesignerGlyphProvider)

Removes the class that implements the IDesignerGlyphProvider interface to the list of glyph providers that an activity designer uses.

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Classes that implement this interface can add and remove custom glyph providers--any classes that implement the IDesignerGlyphProvider interface -- to and from ActivityDesigner classes.

The following code example shows how to obtain a IDesignerGlyphProviderService so that you can add a custom glyph provider to an activity designer. The code uses the AddGlyphProvider method to add the provider to the activity designer.

This code example is part of the Workflow Monitor SDK Sample from the ViewHost.cs file. The type WorkflowMonitorDesignerGlyphProvider is defined in the sample code. For more information, seeWorkflow Monitor.

this.workflowViewValue = new WorkflowView(this.surface);
this.workflowViewValue.ZoomChanged += new EventHandler(workflowViewValue_ZoomChanged);

.NET Framework
Available since 3.0
Return to top
Show: