This documentation is archived and is not being maintained.

ControlPaint.DrawContainerGrabHandle Method

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

[Visual Basic]
Public Shared Sub DrawContainerGrabHandle( _
   ByVal graphics As Graphics, _
   ByVal bounds As Rectangle _
public static void DrawContainerGrabHandle(
 Graphics graphics,
 Rectangle bounds
public: static void DrawContainerGrabHandle(
 Graphics* graphics,
 Rectangle bounds
public static function DrawContainerGrabHandle(
   graphics : Graphics,
 bounds : Rectangle


The Graphics to draw on.
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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ControlPaint Class | ControlPaint Members | System.Windows.Forms Namespace