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 _
)
[C#]
public static void DrawContainerGrabHandle(
 Graphics graphics,
 Rectangle bounds
);
[C++]
public: static void DrawContainerGrabHandle(
 Graphics* graphics,
 Rectangle bounds
);
[JScript]
public static function DrawContainerGrabHandle(
   graphics : Graphics,
 bounds : Rectangle
);

Parameters

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

Requirements

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

Show: