CommentGlyph 类

定义

注意

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

ActivityDesigner 提供当用户在设计期间禁用活动时要显示的标志符号。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
继承
CommentGlyph
属性

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

如果用户在设计期间将设计器或其父设计器的 CommentGlyph 属性设置为 Enabled,则活动设计器会显示 falseActivity designers display CommentGlyph when a user sets the Enabled property to false at design time for the designer or its parent designer.

构造函数

CommentGlyph()

初始化 CommentGlyph 类的新实例。Initializes a new instance of the CommentGlyph class.

字段

HighestPriority

表示 DesignerGlyph 的可能的最高优先级。Represents the highest priority possible for a DesignerGlyph. 该值是一个常数。This value is a constant.

(继承自 DesignerGlyph)
LowestPriority

表示 DesignerGlyph 的可能的最低优先级。Represents the lowest priority possible for a DesignerGlyph. 该值是一个常数。This value is a constant.

(继承自 DesignerGlyph)
NormalPriority

表示 DesignerGlyph 的正常优先级。Represents the normal priority for a DesignerGlyph. 该值是一个常数。This value is a constant.

(继承自 DesignerGlyph)

属性

CanBeActivated

获取一个值,该值指示 DesignerGlyph 能否在关联的 ActivityDesigner 上获取焦点。Gets a value indicating whether the DesignerGlyph can gain focus on the ActivityDesigner with which it is associated.

(继承自 DesignerGlyph)
Priority

获取活动设计器上标志符号的视图优先级。Gets the view priority of the glyph on the activity designer.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetBounds(ActivityDesigner, Boolean)

返回指定的 ActivityDesigner 上的当前注释标志符号的边界。Returns the bounds for the current comment glyph on the specified ActivityDesigner.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnActivate(ActivityDesigner)

向标志符号指示激活它的操作已执行。Indicates to the glyph that an action has been performed which has activated the glyph.

(继承自 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.

(继承自 Object)

适用于