LockedActivityGlyph.OnPaint 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行任何轉譯活動設計工具介面上圖像時所需的工作。
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
。
- ambientTheme
- AmbientTheme
用於存取環境屬性 (Ambient Property) 設定的 AmbientTheme。
- designer
- ActivityDesigner
要從中取得關於使用者動作之資訊的 ActivityDesigner。