Draws a glyph at the top-most Z order position on an activity designer.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
When implemented in a derived class, initializes a new instance of theclass.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Returns the bounds for the glyph on the specified ActivityDesigner.
Serves as the default hash function. (Inherited from Object.)
Indicates to the glyph that an action has been performed which has activated the glyph.
|OnPaint(Graphics^, Boolean, AmbientTheme^, ActivityDesigner^)|
When overridden in a derived class, performs any tasks required to render the glyph on the activity designer surface.
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.
Theclass is the base class for all designer glyphs used on a workflow design surface.
Activity designer developers can use classes that inherit from 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.to draw custom glyphs onto the surface of an
Notes to Inheritors:
When you inherit from OnPaint., you must override the following members:
This code example is part of the Workflow Monitor SDK Sample from the DesignerGlyphProvider.cs file. For more information, see Workflow Monitor.
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.