LockedActivityGlyph.OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner) 方法
定义
执行在活动设计器图面上呈现标志符号时所需的任何任务。Performs any tasks required to render the glyph on the activity designer surface.
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)
参数
- activated
- Boolean
为 true 则指示在设计图面上显示标志符号;否则为 false。true to indicate that the glyph appears on the design surface; otherwise, false.
- ambientTheme
- AmbientTheme
要用于访问环境属性设置的 AmbientTheme。The AmbientTheme to use to access ambient property settings.
- designer
- ActivityDesigner
从中获取有关用户操作的信息的 ActivityDesigner。The ActivityDesigner from which to obtain information about user actions.