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 Shared Sub DrawVisualStyleBorder (
	graphics As Graphics,
	bounds As Rectangle
)

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: