แก้ไข

แชร์ผ่าน


CommentGlyph Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides a glyph for an ActivityDesigner to display when a user disables an activity at design time.

public ref class CommentGlyph : System::Workflow::ComponentModel::Design::DesignerGlyph
public class CommentGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class CommentGlyph : System.Workflow.ComponentModel.Design.DesignerGlyph
type CommentGlyph = class
    inherit DesignerGlyph
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CommentGlyph = class
    inherit DesignerGlyph
Public Class CommentGlyph
Inherits DesignerGlyph
Inheritance
CommentGlyph
Attributes

Remarks

Note

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

Activity designers display CommentGlyph when a user sets the Enabled property to false at design time for the designer or its parent designer.

Constructors

CommentGlyph()

Initializes a new instance of the CommentGlyph class.

Fields

HighestPriority

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

(Inherited from DesignerGlyph)
LowestPriority

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

(Inherited from DesignerGlyph)
NormalPriority

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

(Inherited from DesignerGlyph)

Properties

CanBeActivated

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

(Inherited from DesignerGlyph)
Priority

Gets the view priority of the glyph on the activity designer.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBounds(ActivityDesigner, Boolean)

Returns the bounds for the current comment 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(ActivityDesigner)

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

(Inherited from DesignerGlyph)
OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner)

Performs any tasks required to render the comment glyph on the activity designer surface.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to