DesignerGlyph.OnPaint Metoda

Definice

Při přepsání v odvozené třídě provede všechny úlohy potřebné k vykreslení glyf na ploše návrháře aktivit.

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

Parametry

graphics
Graphics

Provedení Graphics výplní a kreslení úkolů

activated
Boolean

trueoznačit, že se glyf objeví na návrhové ploše; v opačném případě . false

ambientTheme
AmbientTheme

Použití AmbientTheme pro přístup k nastavení okolní vlastnosti.

designer
ActivityDesigner

Informace ActivityDesigner o uživatelských akcích získáte z toho, ze kterého chcete získat informace.

Poznámky

OnPaint používá CommentIndicatorPen k vykreslení hranic komentáře glyf a CommentIndicatorBrush k vyplnění.

Platí pro