ControlPaint.DrawGrabHandle(Graphics, Rectangle, Boolean, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定的图形图面、指定边界内和指定状态和样式中绘制标准选择抓取手柄字形。
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)
参数
- primary
- Boolean
true 将句柄绘制为主抓柄;否则,为 false.
- enabled
- Boolean
true 以启用状态绘制句柄;否则,为 false.
注解
抓取句柄由对象用来向用户指示用户可以直接操作对象。 该操作可以包含大小调整和移动等操作。