Sdílet prostřednictvím


PaintValueEventArgs Konstruktor

Definice

Inicializuje novou instanci PaintValueEventArgs třídy pomocí zadaných hodnot.

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

Kontext, ve kterém se hodnota zobrazí.

value
Object

Hodnota, kterou chcete namalovat.

graphics
Graphics

Objekt Graphics , se kterým se má nakreslit.

bounds
Rectangle

Hodnota Rectangle , ve které se má kresba provést.

Výjimky

graphics je null.

Platí pro