CommentGlyph.OnPaint 方法

定义

执行在活动设计器图面上呈现注释标志符号时所需的任何任务。

protected:
 override void OnPaint(System::Drawing::Graphics ^ graphics, bool activated, System::Workflow::ComponentModel::Design::AmbientTheme ^ ambientTheme, System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer);
protected override void OnPaint (System.Drawing.Graphics graphics, bool activated, System.Workflow.ComponentModel.Design.AmbientTheme ambientTheme, System.Workflow.ComponentModel.Design.ActivityDesigner designer);
override this.OnPaint : System.Drawing.Graphics * bool * System.Workflow.ComponentModel.Design.AmbientTheme * System.Workflow.ComponentModel.Design.ActivityDesigner -> unit
Protected Overrides Sub OnPaint (graphics As Graphics, activated As Boolean, ambientTheme As AmbientTheme, designer As ActivityDesigner)

参数

graphics
Graphics

用于执行填充和绘制任务的 Graphics

activated
Boolean

true 则指示在设计图面上显示标志符号;否则为 false

ambientTheme
AmbientTheme

要用于访问环境属性设置的 AmbientTheme

designer
ActivityDesigner

从中获取有关用户操作的信息的 ActivityDesigner

适用于