Język

PaintValueEventArgs Konstruktor

Definicja

Inicjuje nowe wystąpienie PaintValueEventArgs klasy przy użyciu określonych wartości.

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)

Parametry

context
ITypeDescriptorContext

Kontekst, w którym jest wyświetlana wartość.

value
Object

Wartość do malowania.

graphics
Graphics

Graphics Obiekt, za pomocą którego ma zostać wykonany rysunek.

bounds
Rectangle

Rysunek Rectangle , w którym należy wykonać.

Wyjątki

Parametr graphics ma wartość null.

Dotyczy