DrawVisualStyleBorder Method

ControlPaint.DrawVisualStyleBorder Method (Graphics, Rectangle)

 

Draws a border in the style appropriate for disabled items.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static void DrawVisualStyleBorder(
	Graphics graphics,
	Rectangle bounds
)

Parameters

graphics
Type: System.Drawing.Graphics

The Graphics to draw on.

bounds
Type: System.Drawing.Rectangle

The Rectangle that represents the dimensions of the border.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft