PaintValueEventArgs Konstruktor

Definition

Initialisiert eine neue Instanz der PaintValueEventArgs Klasse mithilfe der angegebenen Werte.

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)

Parameter

context
ITypeDescriptorContext

Der Kontext, in dem der Wert angezeigt wird.

value
Object

Der zu zeichnende Wert.

graphics
Graphics

Das Graphics Objekt, mit dem die Zeichnung ausgeführt werden soll.

bounds
Rectangle

Die Rectangle Zeichnung, in der die Zeichnung erfolgen soll.

Ausnahmen

graphics ist null.

Gilt für: