ControlPaint.DrawContainerGrabHandle Method (Graphics, Rectangle)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static void DrawContainerGrabHandle(
	Graphics graphics,
	Rectangle bounds
)

Parameters

graphics
Type: System.Drawing.Graphics

The Graphics to draw on.

bounds
Type: System.Drawing.Rectangle

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

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.

.NET Framework
Available since 1.1
Return to top
Show: