PaintValueEventArgs Construtor

Definição

Inicializa uma nova instância da PaintValueEventArgs classe usando os valores especificados.

public:
 PaintValueEventArgs(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle bounds);
public PaintValueEventArgs(System.ComponentModel.ITypeDescriptorContext context, object value, System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds);
new System.Drawing.Design.PaintValueEventArgs : System.ComponentModel.ITypeDescriptorContext * obj * System.Drawing.Graphics * System.Drawing.Rectangle -> System.Drawing.Design.PaintValueEventArgs
Public Sub New (context As ITypeDescriptorContext, value As Object, graphics As Graphics, bounds As Rectangle)

Parâmetros

context
ITypeDescriptorContext

O contexto no qual o valor é exibido.

value
Object

O valor a ser pintado.

graphics
Graphics

O Graphics objeto com o qual o desenho deve ser feito.

bounds
Rectangle

O Rectangle desenho em que deve ser feito.

Exceções

graphics é null.

Aplica-se a