System.Windows.Forms.ControlPaint.DrawSizeGrip Method

Draws a size grip on a form with the specified bounds and background color and on the specified graphics surface.

Syntax

public static void DrawSizeGrip (System.Drawing.Graphics graphics, System.Drawing.Color backColor, System.Drawing.Rectangle bounds)

Parameters

graphics
The System.Drawing.Graphics to draw on.
backColor
The System.Drawing.Color of the background used to determine the colors of the size grip.
bounds
The System.Drawing.Rectangle that represents the dimensions of the size grip.

Remarks

The backColor parameter is used to calculate the color of the size grip so that it is always visible against the background.

When you define a sizable window, you can include a size grip. A size grip is a special handle that enables the user to resize a window.

Requirements

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