System.Windows.Forms.ControlPaint.DrawGrabHandle Method

Draws a standard selection grab handle glyph on the specified graphics surface, within the specified bounds, and in the specified state and style.

Syntax

public static void DrawGrabHandle (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary, bool enabled)

Parameters

graphics
The System.Drawing.Graphics to draw on.
rectangle
The System.Drawing.Rectangle that represents the dimensions of the grab handle glyph.
primary
true to draw the handle as a primary grab handle; otherwise, false.
enabled
true to draw the handle in an enabled state; otherwise, false.

Remarks

Grab handles are used by objects to indicate to the user that the user can directly manipulate the object. The manipulation can consist of actions such as sizing and moving.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0