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

注釈

OnPaint は、ユーザーが選択したグリフのすべての要素 (グリフ グラブ ハンドルを含む) を描画します。

適用対象