PaintValueEventArgs Constructeur

Définition

Initialise une nouvelle instance de la classe PaintValueEventArgs en utilisant les valeurs spécifiées.

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)

Paramètres

context
ITypeDescriptorContext

Contexte dans lequel la valeur s'affiche.

value
Object

Valeur à peindre.

graphics
Graphics

Objet Graphics utilisé pour dessiner.

bounds
Rectangle

Rectangle dans lequel doit figurer le dessin.

Exceptions

graphics a la valeur null.

S’applique à