System.Windows.Forms.ControlPaint.DrawBorder3D Method

Draws a three-dimensional style border on the specified graphics surface and within the specified bounds on a control.

Syntax

public static void DrawBorder3D (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle)

Parameters

graphics
The System.Drawing.Graphics to draw on.
rectangle
The System.Drawing.Rectangle that represents the dimensions of the border.

Remarks

The Border3DStyle.Etched style is used by default to draw the border.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0