ControlPaint.DrawVisualStyleBorder(Graphics, Rectangle) 方法

定义

按照适合禁用项的样式绘制边框。

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)

参数

graphics
Graphics

要进行绘制的 Graphics

bounds
Rectangle

一个 Rectangle,它代表边框尺寸。

适用于