ControlPaint.DrawContainerGrabHandle(Graphics, Rectangle) 方法

定義

在指定的圖形表層和指定的範圍內,繪製容器控制項抓取控點圖像 (Glyph)。

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,表示抓取控點圖像的大小。

備註

容器會使用抓取控點來向使用者指出使用者可以直接操作容器。 操作可以包含調整大小和移動等動作。

適用於