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 그리기를 수행할 수 있습니다.

예외

graphicsnull입니다.

적용 대상