This documentation is archived and is not being maintained.

ToolStripRenderer.DrawGrip Method

Draws a move handle on a ToolStrip.

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

public void DrawGrip (
	ToolStripGripRenderEventArgs e
public void DrawGrip (
	ToolStripGripRenderEventArgs e
public function DrawGrip (
	e : ToolStripGripRenderEventArgs
Not applicable.



A ToolStripGripRenderEventArgs that contains the data to draw the move handle.

The DrawGrip method provides an entry point to the rendering code for a move handle located on a ToolStrip. Use this method when overriding the ToolStrip.OnPaintGrip method, or to force a move handle to be drawn in a custom ToolStripRenderer. To change the way a move handle is rendered, override the OnRenderGrip method in a class derived from ToolStripRenderer.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0