DesignerGlyph.OnPaint Método

Definição

Quando substituído em uma classe derivada, executa todas as 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

As Graphics tarefas de preenchimento e desenho a serem executadas.

activated
Boolean

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

ambientTheme
AmbientTheme

O AmbientTheme para usar para acessar as configurações de propriedade ambiente.

designer
ActivityDesigner

A ActivityDesigner partir da qual obter informações sobre ações do usuário.

Comentários

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

Aplica-se a