共用方式為


ConfigErrorGlyph.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

用於存取環境屬性 (Ambient Property) 設定的 AmbientTheme

designer
ActivityDesigner

要從中取得關於使用者動作之資訊的 ActivityDesigner

適用於