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

定义

在指定的图形图面、指定边界内和指定状态和样式中绘制标准选择抓取手柄字形。

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

参数

graphics
Graphics

Graphics 绘制的。

rectangle
Rectangle

表示 Rectangle 抓取手柄字形的尺寸。

primary
Boolean

true 将句柄绘制为主抓柄;否则,为 false.

enabled
Boolean

true 以启用状态绘制句柄;否则,为 false.

注解

抓取句柄由对象用来向用户指示用户可以直接操作对象。 该操作可以包含大小调整和移动等操作。

适用于