PaintValueEventArgs Konstruktor

Definition

Initierar en ny instans av PaintValueEventArgs klassen med de angivna värdena.

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)

Parametrar

context
ITypeDescriptorContext

Kontexten där värdet visas.

value
Object

Värdet som ska målas.

graphics
Graphics

Objektet Graphics som ritningen ska göras med.

bounds
Rectangle

I Rectangle vilken ritning ska göras.

Undantag

graphics är null.

Gäller för