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 IDesignerGlyphProviderService
public interface IDesignerGlyphProviderService
public interface IDesignerGlyphProviderService
Not applicable.

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 demonstrates how you can 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, see Workflow Monitor.

IDesignerGlyphProviderService glyphService = this.surface.GetService(typeof(IDesignerGlyphProviderService)) as IDesignerGlyphProviderService;
WorkflowMonitorDesignerGlyphProvider glyphProvider = new WorkflowMonitorDesignerGlyphProvider(parentValue.ActivityStatusList);

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0