ControlPaint.DrawLockedFrame(Graphics, Rectangle, Boolean) 方法

定义

在屏幕上指定的边界内、指定的图形表面上,绘制锁定的选择框。 指定是否使用主选择方案的颜色来绘制框架。

public:
 static void DrawLockedFrame(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, bool primary);
public static void DrawLockedFrame (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary);
static member DrawLockedFrame : System.Drawing.Graphics * System.Drawing.Rectangle * bool -> unit
Public Shared Sub DrawLockedFrame (graphics As Graphics, rectangle As Rectangle, primary As Boolean)

参数

graphics
Graphics

要进行绘制的 Graphics

rectangle
Rectangle

代表框架尺寸的 Rectangle

primary
Boolean

若要使用主选择方案的颜色绘制此框架,则为 true;否则为 false

适用于