ControlPaint.DrawContainerGrabHandle(Graphics, Rectangle) Method

Definition

Draws a container control grab handle glyph on the specified graphics surface and within the specified bounds.

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)

Parameters

graphics
Graphics

The Graphics to draw on.

bounds
Rectangle

The Rectangle that represents the dimensions of the grab handle glyph.

Remarks

Grab handles are used by containers to indicate to the user that the user can directly manipulate the containers. The manipulation can consist of actions such as sizing and moving.

Applies to