Export (0) Print
Expand All

UITypeEditor.PaintValue Method (Object, Graphics, Rectangle)

Paints a representation of the value of the specified object to the specified canvas.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

public void PaintValue (
	Object value,
	Graphics canvas,
	Rectangle rectangle
)
public void PaintValue (
	Object value, 
	Graphics canvas, 
	Rectangle rectangle
)
public function PaintValue (
	value : Object, 
	canvas : Graphics, 
	rectangle : Rectangle
)
Not applicable.

Parameters

value

The object whose value this type editor will display.

canvas

A drawing canvas on which to paint the representation of the object's value.

rectangle

A Rectangle within whose boundaries to paint the value.

Editors should paint within the boundaries of the specified rectangle. This rectangle indicates the area of the Properties window to draw a representation of the value within.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft