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인 경우

적용 대상