UITypeEditor.PaintValue 메서드

정의

개체 값의 표현을 그립니다.

오버로드

Name Description
PaintValue(PaintValueEventArgs)

지정된 PaintValueEventArgs개체를 사용하여 개체 값의 표현을 그립니다.

PaintValue(Object, Graphics, Rectangle)

지정된 개체 값의 표현을 지정된 캔버스에 그립니다.

PaintValue(PaintValueEventArgs)

Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs

지정된 PaintValueEventArgs개체를 사용하여 개체 값의 표현을 그립니다.

public:
 virtual void PaintValue(System::Drawing::Design::PaintValueEventArgs ^ e);
public virtual void PaintValue(System.Drawing.Design.PaintValueEventArgs e);
abstract member PaintValue : System.Drawing.Design.PaintValueEventArgs -> unit
override this.PaintValue : System.Drawing.Design.PaintValueEventArgs -> unit
Public Overridable Sub PaintValue (e As PaintValueEventArgs)

매개 변수

e
PaintValueEventArgs

그릴 내용과 그릴 위치를 나타내는 A PaintValueEventArgs 입니다.

설명

편집기에서 지정된 사각형의 경계 내에 그려야 합니다. 이 사각형은 내 값의 표현을 그릴 속성 창 영역을 나타냅니다.

.NET Framework 4.6부터 Bounds 지정된 사각형은 app.config 파일에 다음 항목이 포함된 경우 시스템 DPI 설정에 따라 크기가 조정됩니다.

<appSettings>
  <add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
</appSettings>

추가 정보

적용 대상

PaintValue(Object, Graphics, Rectangle)

Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs
Source:
UITypeEditor.cs

지정된 개체 값의 표현을 지정된 캔버스에 그립니다.

public:
 void PaintValue(System::Object ^ value, System::Drawing::Graphics ^ canvas, System::Drawing::Rectangle rectangle);
public void PaintValue(object value, System.Drawing.Graphics canvas, System.Drawing.Rectangle rectangle);
public void PaintValue(object? value, System.Drawing.Graphics canvas, System.Drawing.Rectangle rectangle);
member this.PaintValue : obj * System.Drawing.Graphics * System.Drawing.Rectangle -> unit
Public Sub PaintValue (value As Object, canvas As Graphics, rectangle As Rectangle)

매개 변수

value
Object

이 형식 편집기 값이 표시되는 개체입니다.

canvas
Graphics

개체 값의 표현을 그릴 그리기 캔버스입니다.

rectangle
Rectangle

값을 그릴 경계 내의 A Rectangle 입니다.

설명

편집기에서 지정된 사각형의 경계 내에 그려야 합니다. 이 사각형은 내 값의 표현을 그릴 속성 창 영역을 나타냅니다.

.NET Framework 4.6부터 Bounds 지정된 사각형은 app.config 파일에 다음 항목이 포함된 경우 시스템 DPI 설정에 따라 크기가 조정됩니다.

<appSettings>
  <add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
</appSettings>

적용 대상