PaintValueEventArgs Конструктор

Определение

Инициализирует новый экземпляр класса PaintValueEventArgs, используя указанные значения.

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)

Параметры

context
ITypeDescriptorContext

Контекст, в котором выступает значение.

value
Object

Значение для рисования.

graphics
Graphics

Объект Graphics, которым выполняется рисование.

bounds
Rectangle

Объект Rectangle, в котором выполняется рисование.

Исключения

graphics имеет значение null.

Применяется к