語言

ControlPaint.DrawContainerGrabHandle(Graphics, Rectangle) 方法

定義

在指定的圖形表面及範圍內繪製容器控制抓取把手字形。

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

參數

graphics
Graphics

可以 Graphics 參考的。

bounds
Rectangle

那 Rectangle 代表抓把字形的尺寸。

備註

抓取把手被容器用來指示使用者可以直接操作容器。 操作可以包括大小調整和移動等動作。

適用於