PaintValueEventArgs Costruttore

Definizione

Inizializza una nuova istanza della PaintValueEventArgs classe utilizzando i valori specificati.

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)

Parametri

context
ITypeDescriptorContext

Contesto in cui viene visualizzato il valore.

value
Object

Valore da disegnare.

graphics
Graphics

Oggetto Graphics con cui eseguire il disegno.

bounds
Rectangle

Oggetto Rectangle in cui deve essere eseguito il disegno.

Eccezioni

graphics è null.

Si applica a