ToolStripRenderer.DrawGrip Method (ToolStripGripRenderEventArgs)

 

Draws a move handle on a ToolStrip.

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

public void DrawGrip(
	ToolStripGripRenderEventArgs e
)

Parameters

e
Type: System.Windows.Forms.ToolStripGripRenderEventArgs

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.

.NET Framework
Available since 2.0
Return to top
Show: