PaintValueEventArgs Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av PaintValueEventArgs klassen med de angivna värdena.
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)
Parametrar
- context
- ITypeDescriptorContext
Kontexten där värdet visas.
- value
- Object
Värdet som ska målas.
Undantag
graphics är null.