DesignerGlyph Class
TOC
Collapse the table of content
Expand the table of content

DesignerGlyph Class

 
Note: This API is now obsolete.

Draws a glyph at the top-most Z order position on 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 ref class DesignerGlyph abstract 

NameDescription
System_CAPS_protmethodDesignerGlyph()

When implemented in a derived class, initializes a new instance of the DesignerGlyph class.

NameDescription
System_CAPS_pubpropertyCanBeActivated

Gets a value indicating whether the DesignerGlyph can gain focus on the ActivityDesigner with which it is associated.

System_CAPS_pubpropertyPriority

Gets the priority setting for the designer glyph on the activity design surface.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBounds(ActivityDesigner^, Boolean)

Returns the bounds for the glyph on the specified ActivityDesigner.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnActivate(ActivityDesigner^)

Indicates to the glyph that an action has been performed which has activated the glyph.

System_CAPS_protmethodOnPaint(Graphics^, Boolean, AmbientTheme^, ActivityDesigner^)

When overridden in a derived class, performs any tasks required to render the glyph on the activity designer surface.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticHighestPriority

Represents the highest priority possible for a DesignerGlyph. This value is a constant.

System_CAPS_pubfieldSystem_CAPS_staticLowestPriority

Represents the lowest priority possible for a DesignerGlyph. This value is a constant.

System_CAPS_pubfieldSystem_CAPS_staticNormalPriority

Represents the normal priority for a DesignerGlyph. This value is a constant.

System_CAPS_noteNote

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

The DesignerGlyph class is the base class for all designer glyphs used on a workflow design surface.

Activity designer developers can use classes that inherit from DesignerGlyph to draw custom glyphs onto the surface of an ActivityDesigner. DesignerGlyph 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 DesignerGlyph, you must override the following members: OnPaint.

The following code example demonstrates a glyph class that derives from the DesignerGlyph class. The code overrides the GetBounds and OnPaint methods.

This code example is part of the Workflow Monitor SDK Sample from the DesignerGlyphProvider.cs file. For more information, see Workflow Monitor.

No code example is currently available or this language may not be supported.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft