Editar

Compartilhar via


ControlPaint.DrawVisualStyleBorder(Graphics, Rectangle) Method

Definition

Draws a border in the style appropriate for disabled items.

public:
 static void DrawVisualStyleBorder(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle bounds);
public static void DrawVisualStyleBorder (System.Drawing.Graphics graphics, System.Drawing.Rectangle bounds);
static member DrawVisualStyleBorder : System.Drawing.Graphics * System.Drawing.Rectangle -> unit
Public Shared Sub DrawVisualStyleBorder (graphics As Graphics, bounds As Rectangle)

Parameters

graphics
Graphics

The Graphics to draw on.

bounds
Rectangle

The Rectangle that represents the dimensions of the border.

Applies to