Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initialisiert eine neue Instanz der PaintValueEventArgs-Klasse unter Verwendung der angegebenen Werte.
Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)
Syntax
'Declaration
Public Sub New ( _
context As ITypeDescriptorContext, _
value As Object, _
graphics As Graphics, _
bounds As Rectangle _
)
'Usage
Dim context As ITypeDescriptorContext
Dim value As Object
Dim graphics As Graphics
Dim bounds As Rectangle
Dim instance As New PaintValueEventArgs(context, value, graphics, bounds)
public PaintValueEventArgs (
ITypeDescriptorContext context,
Object value,
Graphics graphics,
Rectangle bounds
)
public:
PaintValueEventArgs (
ITypeDescriptorContext^ context,
Object^ value,
Graphics^ graphics,
Rectangle bounds
)
public PaintValueEventArgs (
ITypeDescriptorContext context,
Object value,
Graphics graphics,
Rectangle bounds
)
public function PaintValueEventArgs (
context : ITypeDescriptorContext,
value : Object,
graphics : Graphics,
bounds : Rectangle
)
Parameter
- context
Der Kontext, in dem der Wert dargestellt wird.
- value
Der zu zeichnende Wert.
- graphics
Das Graphics-Objekt, mit dem gezeichnet werden soll.
- bounds
Das Rectangle-Rechteck, in dem gezeichnet werden soll.
Ausnahmen
| Ausnahmetyp | Bedingung |
|---|---|
graphics ist NULL (Nothing in Visual Basic). |
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
PaintValueEventArgs-Klasse
PaintValueEventArgs-Member
System.Drawing.Design-Namespace