Compartir a través de


PaintValueEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase PaintValueEventArgs mediante los 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);
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

Contexto en el que aparece el valor.

value
Object

Valor que se va a dibujar.

graphics
Graphics

Objeto Graphics con el que va a realizarse el dibujo.

bounds
Rectangle

Rectangle en el que va a realizarse el dibujo.

Excepciones

graphics es null.

Se aplica a