This documentation is archived and is not being maintained.

IDesignerGlyphProviderService Interface

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)

public interface class IDesignerGlyphProviderService

The IDesignerGlyphProviderService type exposes the following members.

  NameDescription
Public propertyGlyphProvidersGets a generic read-only collection of designer glyph providers.
Top

  NameDescription
Public methodAddGlyphProviderAdds a class that implements the IDesignerGlyphProvider interface to the list of glyph providers that an activity designer uses.
Public methodRemoveGlyphProviderRemoves the class that implements the IDesignerGlyphProvider interface to the list of glyph providers that an activity designer uses.
Top

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

Supported in: 4, 3.5, 3.0

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.
Show: