DesignerGlyph.OnPaint Yöntem

Tanım

Türetilmiş bir sınıfta geçersiz kılındığında, etkinlik tasarımcısı yüzeyinde karakteri işlemek için gereken tüm görevleri gerçekleştirir.

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)

Parametreler

graphics
Graphics

Graphics Dolgu ve çizim görevlerini gerçekleştirmek için.

activated
Boolean

true karakterin tasarım yüzeyinde göründüğünü belirtmek için; aksi takdirde , false.

ambientTheme
AmbientTheme

AmbientTheme ortam özelliği ayarlarına erişmek için kullanılacak.

designer
ActivityDesigner

ActivityDesigner Kullanıcı eylemleri hakkında bilgi edinebileceğiniz.

Açıklamalar

OnPaint, açıklama karakteri sınırlarını çizmek ve CommentIndicatorPen doldurmak için kullanırCommentIndicatorBrush.

Şunlara uygulanır