Note: This API is now obsolete.
Draws a glyph at the top-most Z order position on an activity designer.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Thetype exposes the following members.
|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.)|
|GetBounds||Returns the bounds for the glyph on the specified ActivityDesigner.|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|OnActivate||Indicates to the glyph that an action has been performed which has activated the glyph.|
|OnPaint||When overridden in a derived class, performs any tasks required to render the glyph on the activity designer surface.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
The class is the base class for all designer glyphs used on a workflow design surface.
Activity designer developers can use classes that inherit from to draw custom glyphs onto the surface of an ActivityDesigner. classes draw such glyphs at the top-level Z order, which places the custom glyph visually on top of all other glyphs on the designer based on the Priority value of the custom glyph. A lower value for the Priority property indicates a higher priority and therefore draws the glyph at the top-most Z order position on an activity designer.Notes to Inheritors
When you inherit from , you must override the following members: OnPaint.
This code example is part of the Workflow Monitor SDK Sample from the DesignerGlyphProvider.cs file. For more information, see Workflow Monitor.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)