PaintValueEventArgs Constructor

Definitie

Initialiseert een nieuw exemplaar van de PaintValueEventArgs klasse met behulp van de opgegeven waarden.

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)

Parameters

context
ITypeDescriptorContext

De context waarin de waarde wordt weergegeven.

value
Object

De waarde die moet worden verf.

graphics
Graphics

Het Graphics object waarmee de tekening moet worden uitgevoerd.

bounds
Rectangle

De Rectangle tekening moet worden uitgevoerd.

Uitzonderingen

graphics is null.

Van toepassing op