DesignerGlyph.OnPaint Método

Definição

Quando sobrescrito numa classe derivada, executa quaisquer tarefas necessárias para renderizar o glifo na superfície do designer de atividades.

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)

Parâmetros

graphics
Graphics

Para Graphics realizar tarefas de preenchimento e desenho.

activated
Boolean

true para indicar que o glifo aparece na superfície do desenho; caso contrário, false.

ambientTheme
AmbientTheme

A AmbientTheme usar para aceder às definições de propriedades ambientais.

designer
ActivityDesigner

De onde ActivityDesigner obter informações sobre as ações dos utilizadores.

Observações

OnPaint Usa CommentIndicatorPen para desenhar os limites do glifo de comentário e CommentIndicatorBrush preenchê-lo.

Aplica-se a